summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-12 22:23:37 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-12 22:23:37 +0100
commit27de21b5de1a9d0ac728a4b598ad2e5824fc500a (patch)
treef12f71ac4c709a42769196cb8222f906c72f4c20 /src/Log.cpp
parentf1874c259259a039227517a9cd58d7017a1bef34 (diff)
downloaddabmux-27de21b5de1a9d0ac728a4b598ad2e5824fc500a.tar.gz
dabmux-27de21b5de1a9d0ac728a4b598ad2e5824fc500a.tar.bz2
dabmux-27de21b5de1a9d0ac728a4b598ad2e5824fc500a.zip
improve debugging print, add print to stderr
Diffstat (limited to 'src/Log.cpp')
-rw-r--r--src/Log.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 64e7ceb..7817243 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -66,6 +66,8 @@ void Logger::logstr(log_level_t level, const std::string message)
it++) {
(*it)->log(level, message);
}
+
+ std::cerr << levels_as_str[level] << " " << message;
}