From 48b06743eded628962a9df94a7e1c662bf6fbee2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 7 Jun 2015 09:24:03 +0200 Subject: 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. --- src/Log.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Log.cpp') 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; } -- cgit v1.2.3