BloombergLP::ball::LoggerManager::LoggerManager

Create a logger manager with the specified configuration.

Synopsis

Declared in <ball_loggermanager.h>

explicit
LoggerManager(
    LoggerManagerConfiguration const& configuration,
    bslma::Allocator* globalAllocator = 0);

Description

Create a logger manager 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. Note that the new logger manager is not the singleton logger manager used by macros of the BALL logging framework.

Parameters

NameDescription
configurationdefaults and attributes for the logger manager
globalAllocatormemory allocator; null uses the global