[#BloombergLP-ball-LoggerManagerDefaults] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::LoggerManagerDefaults :relfileprefix: ../../ :mrdocs: This class provides constrained configuration parameters for a logger manager. The constraints are maintained as class invariants; it is not possible to obtain an invalid object through this interface. == Synopsis Declared in `<ball_loggermanagerdefaults.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class LoggerManagerDefaults; ---- == Description 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 [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/LoggerManagerDefaults/2constructor-06.adoc[`LoggerManagerDefaults`] [.small]#[constructor]# | Constructors | xref:BloombergLP/ball/LoggerManagerDefaults/2destructor.adoc[`~LoggerManagerDefaults`] [.small]#[destructor]# | Destroy this logger manager default‐values constrained‐attribute object. | xref:BloombergLP/ball/LoggerManagerDefaults/operator_assign.adoc[`operator=`] | Assign to this logger manager default‐values constrained‐attribute object the value of the specified `rhs` object. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultLoggerBufferSize.adoc[`defaultLoggerBufferSize`] | Return the default logger‐message‐buffer size attribute of this object. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultPassLevel.adoc[`defaultPassLevel`] | Return the default pass threshold level attribute of this object. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultRecordBufferSize.adoc[`defaultRecordBufferSize`] | Return the default‐logger record‐buffer size attribute of this object. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultRecordLevel.adoc[`defaultRecordLevel`] | Return the default record threshold level attribute of this object. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultTriggerAllLevel.adoc[`defaultTriggerAllLevel`] | Return the default trigger‐all threshold level attribute of this object. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultTriggerLevel.adoc[`defaultTriggerLevel`] | Return the default trigger threshold level attribute of this object. | xref:BloombergLP/ball/LoggerManagerDefaults/print.adoc[`print`] | Format this object to the specified output `stream` at the (absolute value of) the optionally specified indentation `level` and return a reference to `stream`. If `level` is specified, optionally specify `spacesPerLevel`, the number of spaces per indentation level for this and all of its nested objects. If `level` is negative, suppress indentation of the first line. If `spacesPerLevel` is negative, suppress all indentation AND format the entire output on one line. If `stream` is not valid on entry, this operation has no effect. | xref:BloombergLP/ball/LoggerManagerDefaults/setDefaultLoggerBufferSizeIfValid.adoc[`setDefaultLoggerBufferSizeIfValid`] | Set the default logger‐message‐buffer size attribute of this object to the specified `numBytes` if 0 < numBytes. Return 0 on success, and a non‐zero value (with no effect on the state of this object) otherwise. | xref:BloombergLP/ball/LoggerManagerDefaults/setDefaultRecordBufferSizeIfValid.adoc[`setDefaultRecordBufferSizeIfValid`] | Set the default‐logger record‐buffer size attribute of this object to the specified `numBytes` if 0 < numBytes. Return 0 on success, and a non‐zero value (with no effect on the state of this object) otherwise. | xref:BloombergLP/ball/LoggerManagerDefaults/setDefaultThresholdLevelsIfValid-0a.adoc[`setDefaultThresholdLevelsIfValid`] | `setDefaultThresholdLevelsIfValid` overloads |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/LoggerManagerDefaults/areValidDefaultThresholdLevels.adoc[`areValidDefaultThresholdLevels`] | Return `true` if each of the specified `recordLevel`, `passLevel`, `triggerLevel`, and `triggerAllLevel` values is a valid default severity threshold level attributes, and `false` otherwise. Valid severity threshold level values are in the range `[0 .. 255]`. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultDefaultLoggerBufferSize.adoc[`defaultDefaultLoggerBufferSize`] | Return the implementation‐defined default logger‐message‐buffer size value for this class. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultDefaultPassLevel.adoc[`defaultDefaultPassLevel`] | Return the implementation‐defined default pass threshold level value for this class. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultDefaultRecordBufferSize.adoc[`defaultDefaultRecordBufferSize`] | Return the implementation‐defined default‐logger record‐buffer size value for this class. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultDefaultRecordLevel.adoc[`defaultDefaultRecordLevel`] | Return the implementation‐defined default record threshold level value for this class. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultDefaultTriggerAllLevel.adoc[`defaultDefaultTriggerAllLevel`] | Return the implementation‐defined default trigger‐all threshold value for this class. | xref:BloombergLP/ball/LoggerManagerDefaults/defaultDefaultTriggerLevel.adoc[`defaultDefaultTriggerLevel`] | Return the implementation‐defined default trigger threshold level value for this class. | xref:BloombergLP/ball/LoggerManagerDefaults/isValidDefaultLoggerBufferSize.adoc[`isValidDefaultLoggerBufferSize`] | Return `true` if the specified `numBytes` is a valid default logger‐message‐buffer size attribute, and `false` otherwise. `numBytes` is valid if 0 < numBytes. | xref:BloombergLP/ball/LoggerManagerDefaults/isValidDefaultRecordBufferSize.adoc[`isValidDefaultRecordBufferSize`] | Return `true` if the specified `numBytes` is a valid default‐logger record‐buffer size attribute, and `false` otherwise. `numBytes` is valid if 0 < numBytes. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/ball/operator_eq-080.adoc[BloombergLP::ball::operator==]` | Return `true` if the specified `lhs` and `rhs` attribute objects have the same value, and `false` otherwise. Two attribute objects objects have the same value if each respective attribute has the same value. | `xref:BloombergLP/ball/operator_lshift-03.adoc[BloombergLP::ball::operator<<]` | Write the specified `defaults` object to the specified output `stream` in a reasonable multi‐line format. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/operator_not_eq-0d.adoc[`operator!=`] | Return `true` if the specified `lhs` and `rhs` attribute objects do not have the same value, and `false` otherwise. Two attribute objects do not have the same value if one or more respective attributes differ in values. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#