diff --git a/include/crow/logging.h b/include/crow/logging.h index 36373e3e3..f68a06ecf 100644 --- a/include/crow/logging.h +++ b/include/crow/logging.h @@ -60,7 +60,7 @@ namespace crow prefix = "CRITICAL"; break; } - std::cerr << "(" << timestamp() << ") [" << prefix << "] " << message << std::endl; + std::cerr << std::string("(") + timestamp() + std::string(") [") + prefix + std::string("] ") + message << std::endl; } private: