From d0e9822ed16cb36de4cb1171a89d4049c615f1a0 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 27 Apr 2007 10:09:00 +0000 Subject: Moved around the Python code. --- utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils.h') diff --git a/utils.h b/utils.h index c6654828..9a26d40f 100644 --- a/utils.h +++ b/utils.h @@ -209,7 +209,7 @@ extern std::ostringstream _log_buffer; bool logger_func(log_level_t level); -#define logger(cat) \ +#define LOGGER(cat) \ static const char * const _this_category = cat #define SHOW_TRACE(lvl) \ @@ -266,7 +266,7 @@ bool logger_func(log_level_t level); #else // ! LOGGING_ON -#define logger(cat) +#define LOGGER(cat) #define SHOW_TRACE(lvl) false #define SHOW_DEBUG_(cat) false -- cgit v1.2.3