logging: fix LOG_MESSAGE macro to not use semicolon
This commit is contained in:
parent
b703bc32c9
commit
aeb57a36b2
1 changed files with 2 additions and 2 deletions
|
@ -47,10 +47,10 @@ extern int log_debug_enabled;
|
||||||
|
|
||||||
#if DEBUG > 0
|
#if DEBUG > 0
|
||||||
#define LOG_MESSAGE(severity, facility, ...) \
|
#define LOG_MESSAGE(severity, facility, ...) \
|
||||||
LOG_Message(severity, facility, __LINE__, __FILE__, FUNCTION_NAME, __VA_ARGS__);
|
LOG_Message(severity, facility, __LINE__, __FILE__, FUNCTION_NAME, __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define LOG_MESSAGE(severity, facility, ...) \
|
#define LOG_MESSAGE(severity, facility, ...) \
|
||||||
LOG_Message(severity, __VA_ARGS__);
|
LOG_Message(severity, __VA_ARGS__)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEBUG_LOG(facility, ...) \
|
#define DEBUG_LOG(facility, ...) \
|
||||||
|
|
Loading…
Reference in a new issue