Skip to content
This repository
Browse code

Merge pull request #28 from zakar/bug-fix

fix incorrect macro
  • Loading branch information...
commit e74c1dcd2647221cc7e9cf10d507076d23d45073 2 parents 1dece34 + f62c4f0
Benjamin Surma benjamin-surma authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/lib/logger.h
2  src/lib/logger.h
@@ -34,7 +34,7 @@ namespace flare {
34 34 #define log_err(fmt, ...) logger_singleton::instance().err(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
35 35 #define log_crit(fmt, ...) logger_singleton::instance().crit(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
36 36 #define log_alert(fmt, ...) logger_singleton::instance().alert(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
37   -#define log_emerge(fmt, ...) logger_singleton::instance().emerge(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
  37 +#define log_emerg(fmt, ...) logger_singleton::instance().emerg(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
38 38 #else
39 39 #define log_debug(fmt, ...) do {} while(0)
40 40 #define log_info(fmt, ...) do {} while(0)

0 comments on commit e74c1dc

Please sign in to comment.
Something went wrong with that request. Please try again.