OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
Logger Class Referenceabstract

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()

Logger ( )
inlineprotected

Only descendants are to be created.

Definition at line 188 of file Logger.h.

◆ ~Logger()

virtual ~Logger ( )
inlinevirtual

Finalizes the instance.

Definition at line 194 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.

◆ info()

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

Basic information on the implementation of the logging services.

Implemented in FileLogger, and NullLogger.