Commit 25b295d8 authored by Casper's avatar Casper 🚌
Browse files

Use default tee if no log file provided

parent 2f2228b7
......@@ -12,6 +12,10 @@ Server::Server(uint16_t portNumber, std::vector<Route> routes, std::string logFi
{
logger = std::make_shared<Logger>(logFile);
}
else
{
logger = std::make_shared<Logger>(true);
}
// Initialize socket
int32_t listenSocket = sock.GetHandle();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment