#include <trace.hpp>
|
void | log (debug_level level, const char *fmt,...) |
|
a basic Trace class for debug
Definition at line 54 of file trace.hpp.
◆ Trace()
Debug::Trace::Trace |
( |
debug_level |
level | ) |
|
|
inline |
◆ operator<<() [1/5]
Trace & Debug::Trace::operator<< |
( |
const char * |
s | ) |
|
◆ operator<<() [2/5]
Trace & Debug::Trace::operator<< |
( |
const std::string & |
s | ) |
|
◆ operator<<() [3/5]
template<class T >
Trace & Debug::Trace::operator<< |
( |
const std::vector< T > & |
v | ) |
|
◆ operator<<() [4/5]
Trace & Debug::Trace::operator<< |
( |
int |
i | ) |
|
◆ operator<<() [5/5]
Trace & Debug::Trace::operator<< |
( |
void * |
p | ) |
|
◆ setDebugLevel()
void Debug::Trace::setDebugLevel |
( |
debug_level |
lvl | ) |
|
|
static |
◆ log
void log |
( |
debug_level |
level, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
|
friend |
Log debug messages. printf format.
- Parameters
-
fmt | the formt string, printf style |
func | the func name |
Definition at line 34 of file trace.cpp.
The documentation for this class was generated from the following files: