Create a non‐singleton logger manager with the given configuration.
Synopsis
Declared in <ball_loggermanager.h>
static
void
createLoggerManager(
bslma::ManagedPtr<LoggerManager>* manager,
LoggerManagerConfiguration const& configuration,
bslma::Allocator* basicAllocator = 0);
Description
Create a logger manager that is not the singleton logger manager having the specified configuration of defaults and attributes; load the newly‐created logger manager into the specified manager managed pointer. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that this method does not create the singleton logger manager used by the macros of the BALL logging framework.
Parameters
Name |
Description |
manager |
managed pointer that receives the new logger manager |
configuration |
defaults and attributes for the logger manager |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs