aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-06-07 09:24:03 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-06-07 09:24:03 +0200
commit48b06743eded628962a9df94a7e1c662bf6fbee2 (patch)
tree583e71cc3461abafe050878b9cac6b3d597735fa /src
parentef731fbd5c2c0f331782189b625582f00fc504ef (diff)
downloaddabmod-48b06743eded628962a9df94a7e1c662bf6fbee2.tar.gz
dabmod-48b06743eded628962a9df94a7e1c662bf6fbee2.tar.bz2
dabmod-48b06743eded628962a9df94a7e1c662bf6fbee2.zip
Always log to stderr
Commit e3cc55d removed print of log to stderr by default, which is not helpful in most cases. This reverts this change.
Diffstat (limited to 'src')
-rw-r--r--src/Log.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 0464137..9b7a2c3 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -73,6 +73,8 @@ void Logger::logstr(log_level_t level, std::string message)
++it) {
(*it)->log(level, message);
}
+
+ std::cerr << levels_as_str[level] << " " << message << std::endl;
}