OnixS C++ CME Market Data Handler  5.4.0
API documentation
LoggingSettings Class Reference

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

Public Member Functions

 LoggingSettings (SettingAssignController *controller=NULL)
 
 LoggingSettings (const LoggingSettings &other)
 
Loggerlogger () const
 
LoggerloggerOrDefault () const
 
void logger (Logger *logger)
 
const DebugLoggingSettingsdebug () const
 
DebugLoggingSettingsdebug ()
 
LoggingSettingsoperator= (const LoggingSettings &other)
 
- Public Member Functions inherited from SettingGroup
 SettingGroup (SettingAssignController *controller=NULL)
 
 ~SettingGroup ()
 
template<class Assignee , class Value >
void controlAssignment (const Char *description, Assignee &assignee, Value value) const
 
template<class Assignee , class Value , class AssignRoutine >
void controlAssignment (const Char *description, AssignRoutine routine, Assignee &assignee, const Value &value) const
 

Friends

class HandlerSettings
 

Additional Inherited Members

- Static Public Member Functions inherited from SettingGroup
static ONIXS_CMEMDH_EXPORTED const SettingGroupnull ()
 

Detailed Description

The collection of settings affecting use of logging subsystem by the Handler.

Definition at line 281 of file LoggingSettings.h.

Constructor & Destructor Documentation

LoggingSettings ( SettingAssignController controller = NULL)
inline

Initializes the instance with the default values.

Definition at line 312 of file LoggingSettings.h.

LoggingSettings ( const LoggingSettings other)
inline

Initializes as a copy of the other instance.

Definition at line 322 of file LoggingSettings.h.

Member Function Documentation

const DebugLoggingSettings& debug ( ) const
inline

The collection of settings affecting debug-level logging.

The Handler may log a lot of data at debug level. The given collection allows to filter debug information being logged.

Definition at line 384 of file LoggingSettings.h.

DebugLoggingSettings& debug ( )
inline

The collection of settings affecting debug-level logging.

The Handler may log a lot of data at debug level. The given collection allows to filter debug information being logged.

Definition at line 396 of file LoggingSettings.h.

Logger* logger ( ) const
inline

The Logger instance to be used by the Handler while logging various events.

No instance may be returned identifying no logger is associated and thus nothing is to be logged by the Handler.

Definition at line 336 of file LoggingSettings.h.

void logger ( Logger logger)
inline

Assigns the given logger to the Handler.

Null instance tells the Handler to do not log any data and thus reduces general processing time.

Definition at line 362 of file LoggingSettings.h.

Logger& loggerOrDefault ( ) const
inline

The Logger instance to be used by the Handler while logging various events.

If no instance was assigned by the user, the default logger is provided.

Definition at line 352 of file LoggingSettings.h.

LoggingSettings& operator= ( const LoggingSettings other)
inline

Re-initializes the instance as a copy of the other one.

Definition at line 404 of file LoggingSettings.h.

Friends And Related Function Documentation

friend class HandlerSettings
friend

Definition at line 285 of file LoggingSettings.h.


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