Handler that writes log messages to a Panel in the UI. More...
#include <Handler.h>
Public Types | |
| using | Callback = std::function<void(LogLevel, std::string_view)> |
Public Member Functions | |
| PanelHandler (Callback callback) | |
| void | WriteImpl (LogLevel level, std::string_view message) |
| Forwards a message to a Panel. | |
Handler that writes log messages to a Panel in the UI.
| using Raven::PanelHandler::Callback = std::function<void(LogLevel, std::string_view)> |
|
inlineexplicit |
|
inline |
Forwards a message to a Panel.
| level | The message's LogLevel |
| message | The formatted log message to write. |