OnixS C++ CME Market Data Handler  5.4.0
API documentation
Logger Class Referenceabstract

#include <OnixS/CME/MDH/Logger.h>

Public Member Functions

virtual ~Logger ()
 
virtual void info (std::string &)=0
 
virtual LogEntryaddEntry (LogSeverity::Enum)=0
 

Protected Member Functions

 Logger ()
 

Detailed Description

Definition at line 179 of file Logger.h.

Constructor & Destructor Documentation

Logger ( )
inlineprotected

Only descendants are to be created.

Definition at line 188 of file Logger.h.

virtual ~Logger ( )
inlinevirtual

Finalizes the instance.

Definition at line 194 of file Logger.h.

Member Function Documentation

virtual LogEntry* addEntry ( LogSeverity::Enum  )
pure virtual

Adds entry to the log.

Actual content can be added through the interface of LogEntry and LogEvent classes.

Returns
Instance of LogEntry to build message being added into the log or NULL if severity of entry being added does not correspond to logger's configuration.

Implemented in FileLogger, and NullLogger.

virtual void info ( std::string &  )
pure virtual

Basic information on the implementation of the logging services.

Implemented in FileLogger, and NullLogger.


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