summaryrefslogtreecommitdiff
path: root/louloulibs/logger
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-12-10 03:59:26 +0100
committerlouiz’ <louiz@louiz.org>2016-12-10 03:59:26 +0100
commitf9c31cb129b17d57281c87b549b382957dca425e (patch)
tree07474e8e14cee0ad243ac09e754792c2c2487717 /louloulibs/logger
parent4cc3dc03fc8419abde6e77dceda773a19a246c43 (diff)
downloadbiboumi-f9c31cb129b17d57281c87b549b382957dca425e.tar.gz
biboumi-f9c31cb129b17d57281c87b549b382957dca425e.tar.bz2
biboumi-f9c31cb129b17d57281c87b549b382957dca425e.tar.xz
biboumi-f9c31cb129b17d57281c87b549b382957dca425e.zip
The logger writes to std::clog
Diffstat (limited to 'louloulibs/logger')
-rw-r--r--louloulibs/logger/logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/louloulibs/logger/logger.cpp b/louloulibs/logger/logger.cpp
index 92a3d9b..79f9e8f 100644
--- a/louloulibs/logger/logger.cpp
+++ b/louloulibs/logger/logger.cpp
@@ -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}
{