OnixS C++ CME MDP Premium Market Data Handler  5.8.9
API Documentation
LogEvent Class Reference

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

Public Member Functions

 LogEvent (LogEntry &entry, LogCategory::Enum category, const StrRef &source)
 
 ~LogEvent ()
 
std::string & message ()
 
const std::string & message () const
 

Detailed Description

Given class adds basic information about time of entry record, category and source of log entry. It also enhances API with ability to put data into log entries in simple and elegant way by using streaming operators.

Definition at line 39 of file LogEvents.h.

Constructor & Destructor Documentation

LogEvent ( LogEntry entry,
LogCategory::Enum  category,
const StrRef source 
)
inline

Initializes event with LogEntry instance.

Definition at line 43 of file LogEvents.h.

~LogEvent ( )
inline

Commits entry to the log.

Definition at line 52 of file LogEvents.h.

Member Function Documentation

std::string& message ( )
inline

Informational message to be added to a log.

Definition at line 58 of file LogEvents.h.

const std::string& message ( ) const
inline

Informational message to be added to a log.

Definition at line 64 of file LogEvents.h.


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