#include <source/toolbox/base/Tracer.h>
Public Member Functions | |
Tracer (const string &message) | |
~Tracer () | |
Static Public Member Functions | |
static void | setTraceStream (ostream *stream) |
* #include "tbox/Tracer.h" * .... * void MyClass::myClassMemberFunction() * { * Tracer t("MyClass::myClassMemberFunction"); * .... * } *
|
The constructor for Tracer prints ``Entering <message>'' to the tracer output stream. |
|
The destructor for Tracer prints ``Exiting <message>'' to the tracer output stream. |
|
Set the tracer output stream for all tracer output. By default, this is set to the parallel log stream plog. If this argument is NULL, then all output to trace streams is disabled. |