OnixS C++ CME MDP Premium Market Data Handler 5.10.3
Users' manual and API documentation
Loading...
Searching...
No Matches
Logger Class Referenceabstract

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

Public Member Functions

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

Protected Member Functions

 Logger ()=default

Detailed Description

Definition at line 155 of file Logger.h.

Constructor & Destructor Documentation

◆ ~Logger()

virtual ~Logger ( )
virtualdefault

Finalizes the instance.

◆ Logger()

Logger ( )
protecteddefault

Only descendants are to be created.

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.

◆ info()

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

Basic information on the implementation of the logging services.

Implemented in FileLogger, and NullLogger.