[#BloombergLP-ball-LoggerManagerConfiguration]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::LoggerManagerConfiguration
:relfileprefix: ../../
:mrdocs:

This class provides constrained configuration parameters for a logger manager&period;

== Synopsis

Declared in `&lt;ball&lowbar;loggermanagerconfiguration&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class LoggerManagerConfiguration;
----

== Description

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

This class support _in&hyphen;core_ _value&hyphen;semantic_ operations, including copy construction, assignment, and equality comparison&semi; `ostream` printing is supported, but in a modified form to handle functors, and BDEX serialization cannot be supported at all&period; (A precise operational definition of when two instances have the same (in&hyphen;core) value can be found in the description of `operator&equals;&equals;` for the class&period;) This class is _exception_ _neutral_ with no guarantee of rollback&colon; If an exception is thrown during the invocation of a method on a pre&hyphen;existing instance, the object is left in a valid state, but its value is undefined&period; In no event is memory leaked&period; Finally, _aliasing_ (e&period;g&period;, using all or part of an object as both source and destination) is supported in all cases&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/ball/LoggerManagerConfiguration/CategoryNameFilterCallback-02.adoc[`CategoryNameFilterCallback`] 
| `CategoryNameFilterCallback` is the type of the user&hyphen;supplied functor that translates external category names to internal names&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/DefaultThresholdLevelsCallback-05.adoc[`DefaultThresholdLevelsCallback`] 
| Functor type that supplies default threshold levels for categories&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/UserFieldsPopulatorCallback-09.adoc[`UserFieldsPopulatorCallback`] 
| `UserFieldsPopulatorCallback` is the type of a user&hyphen;supplied callback functor used to populate the user&hyphen;defined fields in each log record&period;
|===


== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/ball/LoggerManagerConfiguration/LogOrder-0bf.adoc[`LogOrder`] 
| The `LogOrder` enumeration defines the order in which messages will be published to the underlying observer in the case of Trigger and Trigger&hyphen;All events&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/TriggerMarkers-00.adoc[`TriggerMarkers`] 
| The `TriggerMarkers` enumeration defines whether marker text is written around log records published due to Trigger or Trigger&hyphen;All events&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/ball/LoggerManagerConfiguration/2constructor-0b.adoc[`LoggerManagerConfiguration`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/ball/LoggerManagerConfiguration/operator_assign.adoc[`operator&equals;`] 
| Assign to this object the in&hyphen;core value of the specified `rhs`&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/categoryNameFilterCallback-0f.adoc[`categoryNameFilterCallback`] 
| Return a reference to the non&hyphen;modifiable category name filter functor attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/defaultLoggerBufferSize.adoc[`defaultLoggerBufferSize`] 
| Return the default logger&hyphen;message&hyphen;buffer size attribute of the `LoggerManagerDefaults` attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/defaultPassLevel.adoc[`defaultPassLevel`] 
| Return the default Pass threshold level attribute of the `LoggerManagerDefaults` attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/defaultRecordBufferSize.adoc[`defaultRecordBufferSize`] 
| Return the default&hyphen;logger record&hyphen;buffer size attribute of the `LoggerManagerDefaults` attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/defaultRecordLevel.adoc[`defaultRecordLevel`] 
| Return the default Record threshold level attribute of the `LoggerManagerDefaults` attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/defaultThresholdLevelsCallback-0f.adoc[`defaultThresholdLevelsCallback`] 
| Return a reference to the non&hyphen;modifiable default severity&hyphen;level thresholds functor attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/defaultTriggerAllLevel.adoc[`defaultTriggerAllLevel`] 
| Return the default Trigger&hyphen;All threshold level attribute of the `LoggerManagerDefaults` attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/defaultTriggerLevel.adoc[`defaultTriggerLevel`] 
| Return the default Trigger threshold level attribute of the `LoggerManagerDefaults` attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/defaults.adoc[`defaults`] 
| Return a reference to the non&hyphen;modifiable defaults object attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/logOrder-0b2.adoc[`logOrder`] 
| Return the log order attribute of this object&period; See attributes description for effects of the log order&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/print.adoc[`print`] 
| Format this object to the specified output `stream`&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/setCategoryNameFilterCallback.adoc[`setCategoryNameFilterCallback`] 
| Set the category name&hyphen;filter callback attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/setDefaultLoggerBufferSizeIfValid.adoc[`setDefaultLoggerBufferSizeIfValid`] 
| Set the default logger&hyphen;message&hyphen;buffer size if `numBytes` is valid&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/setDefaultRecordBufferSizeIfValid.adoc[`setDefaultRecordBufferSizeIfValid`] 
| Set the default record&hyphen;buffer size if `numBytes` is valid&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/setDefaultThresholdLevelsCallback.adoc[`setDefaultThresholdLevelsCallback`] 
| Set the default thresholds callback attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/setDefaultThresholdLevelsIfValid-0f3.adoc[`setDefaultThresholdLevelsIfValid`] 
| `setDefaultThresholdLevelsIfValid` overloads
| xref:BloombergLP/ball/LoggerManagerConfiguration/setDefaultValues.adoc[`setDefaultValues`] 
| Set the default values attribute of this object to `defaults`&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/setLogOrder.adoc[`setLogOrder`] 
| Set the log order attribute of this object to the specified `value`&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/setTriggerMarkers.adoc[`setTriggerMarkers`] 
| Set the trigger marker attribute of this object to `value`&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/setUserFieldsPopulatorCallback.adoc[`setUserFieldsPopulatorCallback`] 
| Set the user&hyphen;fields populator callback attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/triggerMarkers-03.adoc[`triggerMarkers`] 
| Return the trigger marker attribute of this object&period; See attributes description for effects of the trigger markers&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/userFieldsPopulatorCallback-0e.adoc[`userFieldsPopulatorCallback`] 
| Return a reference providing non&hyphen;modifiable access to the user&hyphen;fields populator functor attribute of this object&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;LoggerManagerConfiguration, UsesBslmaAllocator&gt;`] 
| Declare that this type uses a `bslma` allocator&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/ball/LoggerManagerConfiguration/areValidDefaultThresholdLevels.adoc[`areValidDefaultThresholdLevels`] 
| Return whether the specified threshold levels are each valid&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/isValidDefaultLoggerBufferSize.adoc[`isValidDefaultLoggerBufferSize`] 
| Return whether `numBytes` is a valid default logger&hyphen;buffer size&period;
| xref:BloombergLP/ball/LoggerManagerConfiguration/isValidDefaultRecordBufferSize.adoc[`isValidDefaultRecordBufferSize`] 
| Return whether `numBytes` is a valid default record&hyphen;buffer size&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/ball/operator_eq-085.adoc[BloombergLP::ball::operator&equals;&equals;]`
| Return `true` if `lhs` and `rhs` have the same in&hyphen;core value&period;
| `xref:BloombergLP/ball/operator_lshift-012.adoc[BloombergLP::ball::operator&lt;&lt;]`
| Write a representation of `configuration` to the specified `stream`&period;
|===

== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/ball/operator_not_eq-061.adoc[`operator!&equals;`]
| Return `true` if `lhs` and `rhs` do not have the same in&hyphen;core value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
