diff options
-rw-r--r-- | src/cubeb_log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cubeb_log.h b/src/cubeb_log.h index 54ddbd3..fb3b719 100644 --- a/src/cubeb_log.h +++ b/src/cubeb_log.h @@ -54,14 +54,14 @@ cubeb_async_log_reset_threads(void); #define LOG_INTERNAL(level, fmt, ...) \ do { \ - if (cubeb_log_get_level() <= level && cubeb_log_get_callback()) { \ + if (cubeb_log_get_level() >= level && cubeb_log_get_callback()) { \ cubeb_log_internal(__FILENAME__, __LINE__, fmt, ##__VA_ARGS__); \ } \ } while (0) #define ALOG_INTERNAL(level, fmt, ...) \ do { \ - if (cubeb_log_get_level() <= level && cubeb_log_get_callback()) { \ + if (cubeb_log_get_level() >= level && cubeb_log_get_callback()) { \ cubeb_async_log(fmt, ##__VA_ARGS__); \ } \ } while (0) |