BloombergLP::ball::LoggerManagerScopedGuard::LoggerManagerScopedGuard

Create a guard that initializes the logger manager singleton.

Synopses

Declared in <ball_loggermanager.h>

Create a guard that initializes the logger manager singleton.

explicit
LoggerManagerScopedGuard(
    LoggerManagerConfiguration const& configuration,
    bslma::Allocator* globalAllocator = 0);
» more...

Create a guard that initializes the logger manager singleton.

LoggerManagerScopedGuard(
    Observer* observer,
    LoggerManagerConfiguration const& configuration,
    bslma::Allocator* globalAllocator = 0);
» more...

Parameters

NameDescription
configurationdefaults and attributes for the singleton
globalAllocatormemory allocator; null uses the global
observerobserver that receives published log records