modified: src/ui/Server.cpp
Implement some logging
This commit is contained in:
1 parent
2d717c8d1f
commit
96d9d364ad
1 file changed
+1
-2
+1
-2
@@ -32,8 +32,7 @@ Server::Server(EventBus& eventBus)
|
|||||||
});
|
});
|
||||||
|
|
||||||
_server->set_logger([this](const auto& req, const auto& res) {
|
_server->set_logger([this](const auto& req, const auto& res) {
|
||||||
//your_logger(req, res);
|
_logger.info << "UI Webserver - " << req.method << " " << req.path << Logger::commit;
|
||||||
_logger.info.ln ("UI Log message from Webserver. Implement passthrough!");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
_thread = thread(&Server::run, this);
|
_thread = thread(&Server::run, this);
|
||||||
|
|||||||
Reference in new issue
Block a user