OnixS C++ CME MDP Premium Market Data Handler  5.8.9
API Documentation
NullLogger Struct Reference

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

Public Member Functions

 NullLogger ()
 
 ~NullLogger () override
 
void info (std::string &str) override
 
LogEntryaddEntry (LogSeverity::Enum) override
 
- Public Member Functions inherited from Logger
virtual ~Logger ()
 

Static Public Member Functions

static NullLoggerself ()
 

Additional Inherited Members

- Protected Member Functions inherited from Logger
 Logger ()
 

Detailed Description

Definition at line 28 of file NullLogger.h.

Constructor & Destructor Documentation

NullLogger ( )
inline

Initializes logger according to given settings.

Definition at line 31 of file NullLogger.h.

~NullLogger ( )
inlineoverride

In fact, does nothing.

Definition at line 34 of file NullLogger.h.

Member Function Documentation

LogEntry* addEntry ( LogSeverity::Enum  )
inlineoverridevirtual

As implementation supposes no data recording, always return NULL to make logging impossible.

Implements Logger.

Definition at line 45 of file NullLogger.h.

void info ( std::string &  str)
inlineoverridevirtual

Basic information on the implementation of the logging services.

Implements Logger.

Definition at line 38 of file NullLogger.h.

static NullLogger& self ( )
static

Returns an instance of the NullLogger.


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