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