summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-13 01:48:13 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-13 01:48:13 -0500
commitf50ea971ef12929d015657f22942b1cc0e328165 (patch)
treea0dd6304a76f8ead90afa7af1e5f46d9b46a7035 /src/utils.cc
parent55317174ddf4d3f832d909e76d347a22191c0702 (diff)
downloadfork-ledger-f50ea971ef12929d015657f22942b1cc0e328165.tar.gz
fork-ledger-f50ea971ef12929d015657f22942b1cc0e328165.tar.bz2
fork-ledger-f50ea971ef12929d015657f22942b1cc0e328165.zip
Fixed some debug output
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils.cc b/src/utils.cc
index d661f410..f2460ba1 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -550,8 +550,13 @@ bool logger_func(log_level_t level)
logger_has_run = true;
logger_start = TRUE_CURRENT_TIME();
+#if defined(VERIFY_ON)
IF_VERIFY()
*_log_stream << " TIME OBJSZ MEMSZ" << std::endl;
+#else
+ IF_VERIFY()
+ *_log_stream << " TIME" << std::endl;
+#endif
}
*_log_stream << std::right << std::setw(5)