BloombergLP::ball::LoggerManagerDefaults

This class provides constrained configuration parameters for a logger manager.

Synopsis

Declared in <ball_loggermanagerdefaults.h>

class LoggerManagerDefaults;

Description

The constraints are maintained as class invariants; it is not possible to obtain an invalid object through this interface.

More generally, this class supports a complete set of value semantic operations, including copy construction, assignment, equality comparison, ostream printing. (A precise operational definition of when two instances have the same value can be found in the description of operator== for the class.) This class is exception neutral with no guarantee of rollback: if an exception is thrown during the invocation of a method on a pre-existing instance, the object is left in a valid state, but its value is undefined. In no event is memory leaked. Finally, aliasing (e.g., using all or part of an object as both source and destination) is supported in all cases.

Member Functions

NameDescription
LoggerManagerDefaults [constructor]Constructors
~LoggerManagerDefaults [destructor]Destroy this logger manager default-values constrained-attribute object.
operator= Assign to this logger manager default-values constrained-attribute object the value of the specified rhs object.
defaultLoggerBufferSize Return the default logger-message-buffer size attribute of this object.
defaultPassLevel Return the default pass threshold level attribute of this object.
defaultRecordBufferSize Return the default-logger record-buffer size attribute of this object.
defaultRecordLevel Return the default record threshold level attribute of this object.
defaultTriggerAllLevel Return the default trigger-all threshold level attribute of this object.
defaultTriggerLevel Return the default trigger threshold level attribute of this object.
print Format this object to the specified output stream.
setDefaultLoggerBufferSizeIfValid Set the default logger-message-buffer size if numBytes is valid.
setDefaultRecordBufferSizeIfValid Set the default record-buffer size if numBytes is valid.
setDefaultThresholdLevelsIfValid setDefaultThresholdLevelsIfValid overloads

Static Member Functions

NameDescription
areValidDefaultThresholdLevels Return whether the specified threshold levels are each valid.
defaultDefaultLoggerBufferSize Return the implementation-defined default logger-message-buffer size value for this class.
defaultDefaultPassLevel Return the implementation-defined default pass threshold level value for this class.
defaultDefaultRecordBufferSize Return the implementation-defined default-logger record-buffer size value for this class.
defaultDefaultRecordLevel Return the implementation-defined default record threshold level value for this class.
defaultDefaultTriggerAllLevel Return the implementation-defined default trigger-all threshold value for this class.
defaultDefaultTriggerLevel Return the implementation-defined default trigger threshold level value for this class.
isValidDefaultLoggerBufferSize Return true if the specified numBytes is a valid default logger-message-buffer size attribute, and false otherwise.
isValidDefaultRecordBufferSize Return true if the specified numBytes is a valid default-logger record-buffer size attribute, and false otherwise.

Friends

NameDescription
BloombergLP::ball::operator==Return true if lhs and rhs have the same value.
BloombergLP::ball::operator<<Write the specified defaults object to the specified output stream in a reasonable multi-line format.

Non-Member Functions

NameDescription
operator!=Return true if lhs and rhs do not have the same value.