dynamic-graph  4.1.0-8-gdab7-dirty
Dynamic graph library
DebugTrace Class Reference

Logging class. More...

#include <dynamic-graph/debug.h>

Public Member Functions

 DebugTrace (std::ostream &os)
 
DebugTracepre (const std::ostream &)
 
DebugTracepre (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
 

Detailed Description

Logging class.

This class should never be used directly, please use the debugging macro instead.

Definition at line 40 of file debug.h.


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