OnixS C++ CME Streamlined Market Data Handler  1.0.0.4
API documentation
FileLoggerSettings Class Reference

#include <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 31 of file FileLogger.h.

Constructor & Destructor Documentation

FileLoggerSettings ( )
inline

Initializes parameters with default values.

Definition at line 42 of file FileLogger.h.

~FileLoggerSettings ( )
inline

Cleans everything up.

Definition at line 51 of file FileLogger.h.

Member Function Documentation

const std::string& filename ( ) const
inline

Log file name.

Ignored if logging is disabled.

Definition at line 58 of file FileLogger.h.

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

Updates log file name.

Ignored if logging is disabled.

Definition at line 66 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 77 of file FileLogger.h.

void fileSizeLimit ( UInt64  value)
inline

Sets logFileSizeLimit.

See also
logFileSizeLimit.

Definition at line 83 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 92 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 99 of file FileLogger.h.

WatchService& watch ( ) const
inline

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

Definition at line 106 of file FileLogger.h.

void watch ( WatchService watch)
inline

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

Definition at line 113 of file FileLogger.h.


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