diff options
author | Antony Woods <acron1@gmail.com> | 2014-10-22 09:40:33 +0100 |
---|---|---|
committer | Antony Woods <acron1@gmail.com> | 2014-10-22 09:40:33 +0100 |
commit | ada303970732f00e2d3017b726effad65d27a4d2 (patch) | |
tree | a65f112b1df3035807c3b5dfab9aca86d86d1d1e /include/logging.h | |
parent | 3a2d22dfe068553931ae86d0477eac3d07aa4668 (diff) | |
download | crow-ada303970732f00e2d3017b726effad65d27a4d2.tar.gz crow-ada303970732f00e2d3017b726effad65d27a4d2.zip |
Fixed compiler errors and inlines some of the qs_parse functions
Diffstat (limited to 'include/logging.h')
-rw-r--r-- | include/logging.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/logging.h b/include/logging.h index ad1f4bc..0d77071 100644 --- a/include/logging.h +++ b/include/logging.h @@ -28,7 +28,7 @@ namespace crow class CerrLogHandler : public ILogHandler { public: void log(std::string message, LogLevel level) override { - cerr << message; + std::cerr << message; } }; @@ -56,7 +56,7 @@ namespace crow ~logger() { #ifdef CROW_ENABLE_LOGGING if(level_ >= get_current_log_level()) { - stringstream_ << endl; + stringstream_ << std::endl; get_handler_ref()->log(stringstream_.str(), level_); } #endif |