|
Ultralight C++ API 2.0.0
|
#include <Ultralight/platform/Logger.h>
User-defined logging interface.
The library uses this to report failures, warnings, and status messages.
This is intended to be implemented by users and defined before creating the Renderer.
Each message starts with a tag in brackets for the part of the library it came from (eg, [net] Failed to load cacert.pem ...). The library doesn't send messages below DiagnosticsConfig::min_log_level.
Public Member Functions | |
| virtual | ~Logger () |
| virtual void | LogMessage (LogLevel log_level, const String &message)=0 |
| Called when the library wants to display a log message. | |
|
virtual |
Called when the library wants to display a log message.
| log_level | The severity of the message. |
| message | The message text. |