MongoDB C++ Driver  legacy-1.1.2
Public Member Functions | List of all members
mongo::logger::Appender< E > Class Template Referenceabstract

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.
 

Detailed Description

template<typename E>
class mongo::logger::Appender< E >

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>.


The documentation for this class was generated from the following file: