createLoggerManager overloads
Synopses
Declared in <ball_loggermanager.h>
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.
static
void
createLoggerManager(
bslma::ManagedPtr<LoggerManager>* manager,
LoggerManagerConfiguration const& configuration,
bslma::Allocator* basicAllocator = 0);
Create a logger manager that is not the singleton logger manager having the specified observer that receives published log records and 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. The behavior is undefined if observer is 0, goes out of scope, or is otherwise destroyed. Note that this method does not create the singleton logger manager used by the macros of the BALL logging framework.
static
void
createLoggerManager(
bslma::ManagedPtr<LoggerManager>* manager,
Observer* observer,
LoggerManagerConfiguration const& configuration,
bslma::Allocator* basicAllocator = 0);
Created with MrDocs