OnixS C++ CME MDP Streamlined Market Data Handler  1.2.0
API Documentation
LogEvent Class Reference

#include <OnixS/CME/Streamlined/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 51 of file LogEvents.h.

~LogEvent ( )
inline

Commits entry to the log.

Definition at line 63 of file LogEvents.h.

Member Function Documentation

std::string& message ( )
inline

Informational message to be added to a log.

Definition at line 69 of file LogEvents.h.

const std::string& message ( ) const
inline

Informational message to be added to a log.

Definition at line 75 of file LogEvents.h.


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