CPBLogger::CPBLogger
pcp Pointer to PB_COMPONENT structure to be used explicitly on calls to the Log member function. Overrides use of default component for all logging by this object.
On this page
Class CPBLogger
CPBLogger(PB_COMPONENT* pcp = NULL, PB_CONTEXT* pcx = NULL, BOOL blEnable = TRUE, ULONG ulExclude = PB_DEFAULT_EXCLUDE)
Parameters
pcp Pointer to PB_COMPONENT structure to be used explicitly on calls to the Log member function. Overrides use of default component for all logging by this object.
pcx Pointer to PB_CONTEXT structure to be used explicitly on calls to the Log member function. Overrides use of default context for all logging by this object.
blEnable Flag to enable or disable all logging by this object.
ulExclude Bit flags to disable logging of specific message types when using this object. E.g. ulExclude = _PB_VERBOSE | _PB_INFO.
Note that the ulExclude parameter defaults to PB_DEFAULT_EXCLUDE which changes value in builds where PB_DEBUG_LEVEL is set to 1.
