VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
VICI::cdi::Trace Class Reference

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 >
Traceoperator<< (T x)
 Stream output operator.
 
 ~Trace ()
 Destructor.
 

Detailed Description

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";

Constructor & Destructor Documentation

Trace::Trace ( int  n)
explicit

Constructor.

Parameters
ndebug level. See Tracer for detailed explanation.
Trace::Trace ( int  n,
csr  file 
)

Constructor.

Parameters
ndebug level. See Tracer for detailed explanation.
filesource file.

The documentation for this class was generated from the following files: