#include <ScriptLogSink.h>
◆ ScriptLogSink()
| ScriptLogSink::ScriptLogSink |
( |
sol::state_view |
solState | ) |
|
|
explicit |
◆ write()
| void ScriptLogSink::write |
( |
const LogCategory & |
category, |
|
|
LogLevel |
level, |
|
|
std::string_view |
message |
|
) |
| |
|
overridevirtual |
Writes out the log message.
Calls into write from the Logger instance are guaranteed to be serialized with a mutex, so you don't need to do any locking in your implementation.
- Parameters
-
| category | Log category. |
| level | Log level. |
| message | Log message. |
Implements LogSink.
◆ _solState
| sol::state_view ScriptLogSink::_solState |
|
private |
The documentation for this class was generated from the following files: