The logger writes to std::clog

This commit is contained in:
louiz’
2016-12-10 03:59:26 +01:00
parent 4cc3dc03fc
commit f9c31cb129
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
Logger::Logger(const int log_level):
log_level(log_level),
stream(std::cout.rdbuf()),
stream(std::clog.rdbuf()),
null_buffer{},
null_stream{&null_buffer}
{