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