summaryrefslogtreecommitdiff
path: root/src/logger
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-12-03 19:10:44 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-12-03 19:15:37 +0100
commita4c845ab6c54172ea305f33734c83238c75d421a (patch)
tree3ed5393e993f0e9b72fabd9413453fadbfe9a9a9 /src/logger
parent2662ed89e2cd41477582140e482f1ddbbfdb235e (diff)
downloadbiboumi-a4c845ab6c54172ea305f33734c83238c75d421a.tar.gz
biboumi-a4c845ab6c54172ea305f33734c83238c75d421a.tar.bz2
biboumi-a4c845ab6c54172ea305f33734c83238c75d421a.tar.xz
biboumi-a4c845ab6c54172ea305f33734c83238c75d421a.zip
Use the logger everywhere
Diffstat (limited to 'src/logger')
-rw-r--r--src/logger/logger.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/logger/logger.cpp b/src/logger/logger.cpp
index eac833f..22d83bd 100644
--- a/src/logger/logger.cpp
+++ b/src/logger/logger.cpp
@@ -6,7 +6,6 @@ Logger::Logger(const int log_level):
log_level(log_level),
stream(std::cout.rdbuf())
{
- std::cout << "Logger(1)" << std::endl;
}
Logger::Logger(const int log_level, const std::string& log_file):
@@ -14,7 +13,6 @@ Logger::Logger(const int log_level, const std::string& log_file):
ofstream(log_file.data(), std::ios_base::app),
stream(ofstream.rdbuf())
{
- std::cout << "Logger(" << this->log_level << ")" << std::endl;
}
std::unique_ptr<Logger>& Logger::instance()