OnixS C++ CME MDP Streamlined Market Data Handler 1.2.0
API Documentation
Loading...
Searching...
No Matches
Logger Class Referenceabstract

Public Member Functions

virtual LogEntryaddEntry (LogSeverity::Enum)=0

Protected Member Functions

 Logger ()
virtual ~Logger ()

Detailed Description

Definition at line 179 of file Logger.h.

Constructor & Destructor Documentation

◆ Logger()

Logger ( )
inlineprotected

Only descendants are to be created.

Definition at line 188 of file Logger.h.

◆ ~Logger()

virtual ~Logger ( )
inlineprotectedvirtual

Only descendants are to be created.

Definition at line 193 of file Logger.h.

Member Function Documentation

◆ addEntry()

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.