MongoDB C++ Driver
legacy-1.1.2
|
Interface for sinks in a logging system. More...
#include <appender.h>
Public Member Functions | |
virtual Status | append (const Event &event)=0 |
Appends "event", returns Status::OK() on success. | |
Interface for sinks in a logging system.
The core of logging is when events of type E are appended to instances of Appender<E>.
Example concrete instances are ConsoleAppender<E>, SyslogAppender<E> and RotatableFileAppender<E>.