Start using spdlog library

b CAN
This commit is contained in:
2024-08-27 11:10:37 +02:00
parent d24168e5d1
commit 3f1cf62d5c
10 changed files with 72 additions and 18 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ struct action {
class Websocket
{
public:
Websocket(uint16_t port, std::function<std::string(std::string)> on_message, std::function<std::string()> on_update);
Websocket(uint16_t port, std::ostream* out, std::function<std::string(std::string)> on_message, std::function<std::string()> on_update);
void run();
void stop();
void process_messages();