#include <BufferLogSink.h>
◆ flush()
void BufferLogSink::flush |
( |
Logger * |
target | ) |
|
|
inline |
◆ write()
virtual void BufferLogSink::write |
( |
const LogCategory & |
category, |
|
|
LogLevel |
level, |
|
|
std::string_view |
message |
|
) |
| |
|
inlineoverridevirtual |
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.
◆ _buffer
The documentation for this class was generated from the following file: