The location / message type preprocessor macros are used when invoking logging calls or wrapper functions that pass location and message type information through to logging calls. They conveniently bundle the location macros with the message type macros and are defined in PB.h with the following form:
#define _PB_VERBOSE 0x00000002
#define PB_VERBOSE PB_LOC, _PB_VERBOSE
which the preprocessor expands to:
“W:\\SomeDir\\SomeFile.cpp”, 303, 0x00000002
They are used as follows:
PBLog (PB_INFO, “We are here.”);
lgr.Log (PB_WARNING, “We are still here...”);