Initialize the logger manager singleton.
Declared in <ball_loggermanager.h>
static
LoggerManager&
initSingleton(bslma::Allocator* globalAllocator = 0);
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.
non-const reference to the logger manager singleton
| Name | Description |
|---|---|
| globalAllocator | memory allocator; null uses the global |