[#BloombergLP-ball-LoggerManagerScopedGuard-2constructor-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManagerScopedGuard.adoc[LoggerManagerScopedGuard]::LoggerManagerScopedGuard :relfileprefix: ../../../ :mrdocs: Create a scoped guard that will create the logger manager singleton having the specified `configuration` of defaults and attributes. Optionally specify a `globalAllocator` used to supply memory. If `globalAllocator` is 0, the currently installed global allocator is used. This method has no effect (aside from logging a warning) if the logger manager singleton already exists. Note that on destruction, this scoped guard will destroy the logger manager singleton, if the singleton exists at that time. == Synopsis Declared in `<ball_loggermanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit LoggerManagerScopedGuard( xref:BloombergLP/ball/LoggerManagerConfiguration.adoc[LoggerManagerConfiguration] const& configuration, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* globalAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#