diff options
author | Antony Woods <acron1@gmail.com> | 2014-05-20 23:30:51 +0100 |
---|---|---|
committer | Antony Woods <acron1@gmail.com> | 2014-05-20 23:30:51 +0100 |
commit | 1ae0387a255c7ec891179e3880579368b6cc588d (patch) | |
tree | 806b8b20e50b1ac3fa3204e3be30b5f87c8fd7cf /http_server.h | |
parent | dccb246cf8ba7b5480320088a817c29a4a7c8da3 (diff) | |
download | crow-1ae0387a255c7ec891179e3880579368b6cc588d.tar.gz crow-1ae0387a255c7ec891179e3880579368b6cc588d.zip |
Added log level support
Diffstat (limited to 'http_server.h')
-rw-r--r-- | http_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_server.h b/http_server.h index 7d76c84..3ca88f2 100644 --- a/http_server.h +++ b/http_server.h @@ -35,7 +35,7 @@ namespace crow std::async(std::launch::async, [this]{io_service_.run();}) ); - CROW_LOG_INFO << "Server is running, local port " << port_; + CROW_LOG_INFO << server_name_ << " server is running, local port " << port_; signals_.async_wait( [&](const boost::system::error_code& error, int signal_number){ |