diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-01 04:36:56 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:35 -0400 |
commit | e70b80d6fe1ed6da6812eb3f4c77570a18eb2bf3 (patch) | |
tree | 6d02fc08132dba1e64a2807cfccf431ef88c2976 /src/utils.cc | |
parent | e92bcf411d2e9a55969303ba3893a017152d7c18 (diff) | |
download | fork-ledger-e70b80d6fe1ed6da6812eb3f4c77570a18eb2bf3.tar.gz fork-ledger-e70b80d6fe1ed6da6812eb3f4c77570a18eb2bf3.tar.bz2 fork-ledger-e70b80d6fe1ed6da6812eb3f4c77570a18eb2bf3.zip |
Got tracing code working again.
Diffstat (limited to 'src/utils.cc')
-rw-r--r-- | src/utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.cc b/src/utils.cc index f18ccca1..59028141 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -404,7 +404,7 @@ string::~string() { namespace ledger { -log_level_t _log_level; +log_level_t _log_level = LOG_WARN; std::ostream * _log_stream = &std::cerr; std::ostringstream _log_buffer; @@ -497,7 +497,7 @@ bool logger_func(log_level_t level) namespace ledger { -std::string _log_category; +optional<std::string> _log_category; } // namespace ledger |