OpenEnroth 73e68f7
|
#include <DistLogSink.h>
Public Member Functions | |
void | write (const LogCategory &category, LogLevel level, std::string_view message) override |
void | addLogSink (LogSink *logSink) |
void | removeLogSink (LogSink *logSink) |
Public Member Functions inherited from LogSink | |
virtual | ~LogSink ()=default |
virtual void | write (const LogCategory &category, LogLevel level, std::string_view message)=0 |
Private Attributes | |
std::vector< LogSink * > | _logSinks |
Additional Inherited Members | |
Static Public Member Functions inherited from LogSink | |
static std::unique_ptr< LogSink > | createDefaultSink () |
Log sink that distributes what's written into it into other log sinks.
void DistLogSink::addLogSink | ( | LogSink * | logSink | ) |
void DistLogSink::removeLogSink | ( | LogSink * | logSink | ) |
|
overridevirtual |
|
private |