|
Maze Builder Docs 8.10.23
|
Public Types | |
| using | sink_type = std::function<void(std::string_view)> |
Public Member Functions | |
| void | log (std::string_view message) |
| Queue a message for asynchronous logging. | |
| void | flush () |
| Flush all pending messages. | |
| void | stop () noexcept |
| Stop the logger. | |
| void | set_sink (sink_type sink) |
| Replace the message sink. | |
| Public Member Functions inherited from mazes::singleton_base< async_logger > | |
| singleton_base (const singleton_base &)=delete | |
| singleton_base & | operator= (const singleton_base &)=delete |
Friends | |
| class | singleton_base< async_logger > |
Additional Inherited Members | |
| Static Public Member Functions inherited from mazes::singleton_base< async_logger > | |
| static std::shared_ptr< async_logger > & | instance (Args &&...args) noexcept |