Initialize the static data members of AttributeContext using the specified categoryManager. Optionally specify a globalAllocator used to supply memory. If globalAllocator is 0, the currently installed global allocator is used. Unless reset is subsequently called, invoking this method more than once will log an error message using bsls::Log::platformDefaultMessageHandler, but will have no other effect. Note that in practice this method will be called automatically when the LoggerManager singleton is initialized ‐‐ i.e., it is not intended to be called directly by clients of the ball package.

Synopsis

Declared in <ball_attributecontext.h>

static
void
initialize(
    CategoryManager* categoryManager,
    bslma::Allocator* globalAllocator = 0);

Created with MrDocs