diff --git a/main.cpp b/main.cpp index ae6ebc3..c63d4a3 100644 --- a/main.cpp +++ b/main.cpp @@ -93,7 +93,7 @@ void RunWorkers(unsigned n, const Fn& fn) int main() { Logger::GetInstance().SetOutStream(cout); - Logger::GetInstance().Log("Qwerty"s, 2, 3, 14); + Logger::GetInstance().Log("Server started"); const unsigned num_threads = std::thread::hardware_concurrency(); diff --git a/src/Logger.h b/src/Logger.h index f3f5479..8e8a282 100644 --- a/src/Logger.h +++ b/src/Logger.h @@ -53,7 +53,7 @@ class Logger template void LogImpl(First fst) { - *stream_ptr_ << fst; + *stream_ptr_ << fst << '\n'; } }; } // namespace http_server \ No newline at end of file