modified: src/ui/Server.cpp

Implement some logging
This commit is contained in:
Sven Luethi committed 2024-06-10 23:14:29 +02:00
1 parent 2d717c8d1f
commit 96d9d364ad
1 file changed
+1 -2
+1 -2
View File
@@ -32,8 +32,7 @@ Server::Server(EventBus& eventBus)
});
_server->set_logger([this](const auto& req, const auto& res) {
//your_logger(req, res);
_logger.info.ln ("UI Log message from Webserver. Implement passthrough!");
_logger.info << "UI Webserver - " << req.method << " " << req.path << Logger::commit;
});
_thread = thread(&Server::run, this);