OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
LoggingSettings Class Reference

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_CONFLATEDUDP_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() [1/2]

LoggingSettings ( SettingAssignController * controller = NULL)
inline

Initializes the instance with the default values.

Definition at line 316 of file LoggingSettings.h.

◆ LoggingSettings() [2/2]

LoggingSettings ( const LoggingSettings & other)
inline

Initializes as a copy of the other instance.

Definition at line 326 of file LoggingSettings.h.

Member Function Documentation

◆ debug() [1/2]

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 400 of file LoggingSettings.h.

◆ debug() [2/2]

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 388 of file LoggingSettings.h.

◆ logger() [1/2]

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 340 of file LoggingSettings.h.

◆ logger() [2/2]

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 366 of file LoggingSettings.h.

◆ loggerOrDefault()

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 356 of file LoggingSettings.h.

◆ operator=()

LoggingSettings & operator= ( const LoggingSettings & other)
inline

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

Definition at line 408 of file LoggingSettings.h.

◆ HandlerSettings

friend class HandlerSettings
friend

Definition at line 289 of file LoggingSettings.h.