OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
LogEntry Class Referenceabstract

Public Member Functions

virtual void category (LogCategory::Enum)=0
virtual void source (const StrRef &)=0
virtual std::string & message ()=0
virtual void commit ()=0

Protected Member Functions

 LogEntry ()
virtual ~LogEntry ()

Detailed Description

Definition at line 121 of file Logger.h.

Constructor & Destructor Documentation

◆ LogEntry()

LogEntry ( )
inlineprotected

Life-time is managed by Logger.

Definition at line 142 of file Logger.h.

◆ ~LogEntry()

virtual ~LogEntry ( )
inlineprotectedvirtual

Life-time is managed by Logger.

Definition at line 145 of file Logger.h.

Member Function Documentation

◆ category()

virtual void category ( LogCategory::Enum )
pure virtual

Specifies category of information being logged.

◆ commit()

virtual void commit ( )
pure virtual

Commits entry into a log and releases the instance.

Once given member is invoked, further invocation of other members is not allowed as instance may be disposed and thus do not exist anymore.

◆ message()

virtual std::string & message ( )
pure virtual

Editable text to be a message of log entry.

◆ source()

virtual void source ( const StrRef & )
pure virtual

Specifies source of information being logged.