OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
FileLoggerSettings Class Reference

#include <OnixS/CME/ConflatedUDP/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 43 of file FileLogger.h.

~FileLoggerSettings ( )
inline

Cleans everything up.

Definition at line 52 of file FileLogger.h.

Member Function Documentation

const std::string& filename ( ) const
inline

Log file name.

Ignored if logging is disabled.

Definition at line 59 of file FileLogger.h.

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

Updates log file name.

Ignored if logging is disabled.

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

void fileSizeLimit ( UInt64  value)
inline

Sets logFileSizeLimit.

See also
logFileSizeLimit.

Definition at line 84 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 93 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 100 of file FileLogger.h.

WatchService& watch ( ) const
inline

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

Definition at line 107 of file FileLogger.h.

void watch ( WatchService watch)
inline

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

Definition at line 114 of file FileLogger.h.


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