Macro hygiene
This commit is contained in:
parent
05d9442f68
commit
e224c16d28
|
@ -178,8 +178,8 @@ extern Verbosity verbosity; /* suppress msgs > this */
|
|||
lightweight status messages. */
|
||||
#define logErrorInfo(level, errorInfo...) \
|
||||
do { \
|
||||
if (level <= nix::verbosity) { \
|
||||
logger->logEI(level, errorInfo); \
|
||||
if ((level) <= nix::verbosity) { \
|
||||
logger->logEI((level), errorInfo); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Reference in a new issue