aboutsummaryrefslogtreecommitdiffstats
path: root/include/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/logging.h')
-rw-r--r--include/logging.h4
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