class
LogSink
- Module
- Logging
- Header
#include "Logging/Logger.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
virtual ~LogSink() = default | ~LogSink |
Public functions
| Returns | Name | Description |
|---|---|---|
void | Write | |
void | Flush | |
void | CrashFlush | The crash path's flush: the process may already be broken and another thread may hold this sink's lock forever, so it must never block on it and never allocate. |
void | SetMinLevel | |
LogLevel | GetMinLevel |
Function details
~LogSink
C++
virtual ~LogSink() = defaultWrite
C++
virtual void Write(const LogMessage& msg) = 0Flush
C++
virtual void Flush()CrashFlush
C++
virtual void CrashFlush()The crash path's flush: the process may already be broken and another thread may hold this sink's lock forever, so it must never block on it and never allocate. Defaults to Flush for sinks that hold nothing.
SetMinLevel
C++
void SetMinLevel(LogLevel level)GetMinLevel
C++
LogLevel GetMinLevel() constGenerated from Logging/Logger.h via logging.json · Oct 27, 2026Version 1.0.0