summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc4
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