aboutsummaryrefslogtreecommitdiffstats
path: root/alc/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'alc/logging.h')
-rw-r--r--alc/logging.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/alc/logging.h b/alc/logging.h
index 0bb0c87b..8a3e75e6 100644
--- a/alc/logging.h
+++ b/alc/logging.h
@@ -39,24 +39,24 @@ enum LogLevel {
extern LogLevel gLogLevel;
#define TRACEREF(...) do { \
- if(UNLIKELY(gLogLevel >= LogRef)) \
+ if UNLIKELY(gLogLevel >= LogRef) \
AL_PRINT("(--)", __VA_ARGS__); \
} while(0)
#define TRACE(...) do { \
- if(UNLIKELY(gLogLevel >= LogTrace)) \
+ if UNLIKELY(gLogLevel >= LogTrace) \
AL_PRINT("(II)", __VA_ARGS__); \
LOG_ANDROID(ANDROID_LOG_DEBUG, __VA_ARGS__); \
} while(0)
#define WARN(...) do { \
- if(UNLIKELY(gLogLevel >= LogWarning)) \
+ if UNLIKELY(gLogLevel >= LogWarning) \
AL_PRINT("(WW)", __VA_ARGS__); \
LOG_ANDROID(ANDROID_LOG_WARN, __VA_ARGS__); \
} while(0)
#define ERR(...) do { \
- if(UNLIKELY(gLogLevel >= LogError)) \
+ if UNLIKELY(gLogLevel >= LogError) \
AL_PRINT("(EE)", __VA_ARGS__); \
LOG_ANDROID(ANDROID_LOG_ERROR, __VA_ARGS__); \
} while(0)