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);

Create a guard that initializes the logger manager singleton.

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

Parameters

Name

Description

configuration

defaults and attributes for the singleton

globalAllocator

memory allocator; null uses the global

observer

observer that receives published log records

Created with MrDocs