Skip to content

Commit

Permalink
log: don't disable debug log for emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
Akaricchi committed Oct 23, 2024
1 parent 2a17e82 commit e3ff572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void log_add_filter(LogLevelDiff diff, const char *pmod, const char *pfunc);
bool log_add_filter_string(const char *fstr);
void log_remove_filters(void);

#if defined(DEBUG) && !defined(__EMSCRIPTEN__)
#if defined(DEBUG)
#define log_debug(...) log_custom(LOG_DEBUG, __VA_ARGS__)
#else
#define log_debug(...) ((void)0)
Expand Down

0 comments on commit e3ff572

Please sign in to comment.