A sink to use with spdlog, that will send its log messages over websockets.
More...
Inherits spdlog::sinks::sink, and Nano::Observer.
A sink to use with spdlog, that will send its log messages over websockets.
|
| websocket_log_sink (std::shared_ptr< websocket_threaded_connection > s, std::string send) |
|
void | open_fun () |
|
void | make_message (const spdlog::details::log_msg &msg) |
|
void | send_message (const spdlog::details::log_msg &msg) |
|
void | log (const spdlog::details::log_msg &msg) override |
|
void | flush () override |
|
void | set_pattern (const std::string &pattern) override |
|
void | set_formatter (std::unique_ptr< spdlog::formatter > sink_formatter) override |
|