pqDebugType provides a mechanism for application to define categories for debugging various components of the UI.
By passing an appropriate name for the envVariable in the constructor, the debug output will only be generated when that variable is set. For example, if you want to put out debug messages when an environment variable MY_DEBUG_FOO is defined, you can do the following:
pqDebug(
"MY_DEBUG_FOO") <<
"This will be printed when MY_DEBUG_FOO " << "is defined.";
Definition at line 48 of file pqDebug.h.