[#BloombergLP-ball-LoggerManagerScopedGuard-2constructor-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManagerScopedGuard.adoc[LoggerManagerScopedGuard]::LoggerManagerScopedGuard :relfileprefix: ../../../ :mrdocs: Create a guard that initializes the logger manager singleton. == Synopses Declared in `<ball_loggermanager.h>` Create a guard that initializes the logger manager singleton. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/ball/LoggerManagerScopedGuard/2constructor-0e.adoc[LoggerManagerScopedGuard]( xref:BloombergLP/ball/LoggerManagerConfiguration.adoc[LoggerManagerConfiguration] const& configuration, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* globalAllocator = 0); ---- [.small]#xref:BloombergLP/ball/LoggerManagerScopedGuard/2constructor-0e.adoc[_» more..._]# Create a guard that initializes the logger manager singleton. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/LoggerManagerScopedGuard/2constructor-0f.adoc[LoggerManagerScopedGuard]( xref:BloombergLP/ball/Observer.adoc[Observer]* observer, xref:BloombergLP/ball/LoggerManagerConfiguration.adoc[LoggerManagerConfiguration] const& configuration, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* globalAllocator = 0); ---- [.small]#xref:BloombergLP/ball/LoggerManagerScopedGuard/2constructor-0f.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *configuration* | defaults and attributes for the singleton | *globalAllocator* | memory allocator; null uses the global | *observer* | observer that receives published log records |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#