VICI
0.11.815
Visual Chart Interpreter
|
This class is used to create trace log entries. More...
#include <vici/trace.h>
Public Member Functions | |
Trace (int n) | |
Constructor. More... | |
Trace (int n, csr file) | |
Constructor. More... | |
template<class T > | |
Trace & | operator<< (T x) |
Stream output operator. | |
~Trace () | |
Destructor. | |
This class is used to create trace log entries.
Objects of this class should only be transient. i.e. don't actually name the object, so that when the statement ends the destructor is called immediately.
Typical usage is TRACE(3) << "my trace message";
|
explicit |
Constructor.
n | debug level. See Tracer for detailed explanation. |
Trace::Trace | ( | int | n, |
csr | file | ||
) |
Constructor.
n | debug level. See Tracer for detailed explanation. |
file | source file. |