summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-27 10:09:00 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:32 -0400
commitd0e9822ed16cb36de4cb1171a89d4049c615f1a0 (patch)
treefa48eba60a56dee5bcf1ebd266d822c5a96e4323 /utils.h
parent0eb597a681115d6d5dd2ea4511fa3b8c7b3d9c9f (diff)
downloadfork-ledger-d0e9822ed16cb36de4cb1171a89d4049c615f1a0.tar.gz
fork-ledger-d0e9822ed16cb36de4cb1171a89d4049c615f1a0.tar.bz2
fork-ledger-d0e9822ed16cb36de4cb1171a89d4049c615f1a0.zip
Moved around the Python code.
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 2 insertions, 2 deletions
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