Logging class. More...
#include <dynamic-graph/debug.h>
Public Member Functions | |
| DebugTrace (std::ostream &os) | |
| void | trace (const int level, const char *format,...) |
| void | trace (const char *format,...) |
| void | trace (const int level=-1) |
| void | traceTemplate (const int level, const char *format,...) |
| void | traceTemplate (const char *format,...) |
| DebugTrace & | pre (const std::ostream &) |
| DebugTrace & | pre (const std::ostream &, int level) |
Static Public Member Functions | |
| static void | openFile (const char *filename=DEBUG_FILENAME_DEFAULT) |
| static void | closeFile (const char *filename=DEBUG_FILENAME_DEFAULT) |
Public Attributes | |
| std::stringstream | tmpbuffer |
| std::ostream & | outputbuffer |
| char | charbuffer [SIZE+1] |
| int | traceLevel |
| int | traceLevelTemplate |
Static Public Attributes | |
| static const int | SIZE = 512 |
| static const char * | DEBUG_FILENAME_DEFAULT |
Logging class.
This class should never be used directly, please use the debugging macro instead.
|
inline |
References outputbuffer.
|
static |
References DEBUG_FILENAME_DEFAULT.
|
static |
References DEBUG_FILENAME_DEFAULT.
|
inline |
References DebugTrace().
|
inline |
References DebugTrace(), and traceLevel.
|
inline |
References DG_COMMON_TRACES, and tmpbuffer.
|
inline |
References DG_COMMON_TRACES, tmpbuffer, and traceLevel.
|
inline |
References outputbuffer, tmpbuffer, and traceLevel.
|
inline |
References DG_COMMON_TRACES, and tmpbuffer.
|
inline |
References DG_COMMON_TRACES, tmpbuffer, and traceLevelTemplate.
| char dynamicgraph::DebugTrace::charbuffer[SIZE+1] |
|
static |
Referenced by closeFile(), and openFile().
| std::ostream& dynamicgraph::DebugTrace::outputbuffer |
Referenced by DebugTrace(), and trace().
|
static |
| std::stringstream dynamicgraph::DebugTrace::tmpbuffer |
Referenced by trace(), trace(), trace(), traceTemplate(), and traceTemplate().
| int dynamicgraph::DebugTrace::traceLevelTemplate |
Referenced by traceTemplate().