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

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

Public Member Functions

 FileLoggerSettings ()
 
 ~FileLoggerSettings ()
 
const std::string & filename () const
 
void filename (const std::string &value)
 
UInt64 fileSizeLimit () const
 
void fileSizeLimit (UInt64 value)
 
LogSeverity::Enum severityLevel () const
 
void severityLevel (LogSeverity::Enum value)
 
WatchServicewatch () const
 
void watch (WatchService &watch)
 

Detailed Description

Definition at line 32 of file FileLogger.h.

Constructor & Destructor Documentation

FileLoggerSettings ( )
inline

Initializes parameters with default values.

Definition at line 36 of file FileLogger.h.

~FileLoggerSettings ( )
inline

Cleans everything up.

Definition at line 45 of file FileLogger.h.

Member Function Documentation

const std::string& filename ( ) const
inline

Log file name.

Ignored if logging is disabled.

Definition at line 50 of file FileLogger.h.

void filename ( const std::string &  value)
inline

Updates log file name.

Ignored if logging is disabled.

Definition at line 58 of file FileLogger.h.

UInt64 fileSizeLimit ( ) const
inline

Log file size limit (in bytes).

Handler detaches logged data into separate file upon reaching given size limit.

Note
Default value is '2145386496'.

Definition at line 69 of file FileLogger.h.

void fileSizeLimit ( UInt64  value)
inline

Sets logFileSizeLimit.

See also
logFileSizeLimit.

Definition at line 75 of file FileLogger.h.

LogSeverity::Enum severityLevel ( ) const
inline

Specifies whether the logger should output events and which of events should be put into the log.

Note
The default value is LogEntrySeverity::Regular.

Definition at line 84 of file FileLogger.h.

void severityLevel ( LogSeverity::Enum  value)
inline

Specifies whether logger should output its events and which of events should be put into the log.

Definition at line 91 of file FileLogger.h.

WatchService& watch ( ) const
inline

Watch service used by logger while assigning timestamps to log entries.

Definition at line 98 of file FileLogger.h.

void watch ( WatchService watch)
inline

Watch service used by logger while assigning timestamps to log entries.

Definition at line 105 of file FileLogger.h.


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