log: don't disable debug log for emscripten
This commit is contained in:
parent
2a17e82f9d
commit
e3ff572d90
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ void log_add_filter(LogLevelDiff diff, const char *pmod, const char *pfunc);
|
||||||
bool log_add_filter_string(const char *fstr);
|
bool log_add_filter_string(const char *fstr);
|
||||||
void log_remove_filters(void);
|
void log_remove_filters(void);
|
||||||
|
|
||||||
#if defined(DEBUG) && !defined(__EMSCRIPTEN__)
|
#if defined(DEBUG)
|
||||||
#define log_debug(...) log_custom(LOG_DEBUG, __VA_ARGS__)
|
#define log_debug(...) log_custom(LOG_DEBUG, __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define log_debug(...) ((void)0)
|
#define log_debug(...) ((void)0)
|
||||||
|
|
Loading…
Reference in a new issue