Initialize the logger manager singleton. Optionally specify a configuration describing how the singleton should be configured. If configuration is not specified, a default constructed LoggerManagerConfiguration object is used. Optionally specify a globalAllocator used to supply memory. If globalAllocator is 0, the currently installed global allocator is used. Return a non‐`const` reference to the logger manager singleton. This method has no effect (aside from logging a warning) if the logger manager singleton already exists.

Synopsis

Declared in <ball_loggermanager.h>

static
LoggerManager&
initSingleton(bslma::Allocator* globalAllocator = 0);

Created with MrDocs