![]() |
Peano
|
The LoggingAdapter: Logging in Cactus/printf style without macros. More...
#include <TP_Logging.h>
Public Member Functions | |
void | TP_LOG (const char *fmt,...) |
void | TP_ERROR (const char *fmt,...) |
void | TP_INFO (const char *fmt,...) |
void | TP_WARN (const char *fmt,...) |
LoggingAdapter () | |
Data Fields | |
logger * | log |
The LoggingAdapter: Logging in Cactus/printf style without macros.
Just inherit from this class to use the facilities.
Definition at line 44 of file TP_Logging.h.
TP::LoggingAdapter::LoggingAdapter | ( | ) |
Definition at line 53 of file TP_Logging.h.
References log.
void LoggingAdapter::TP_ERROR | ( | const char * | fmt, |
... | |||
) |
Definition at line 52 of file TP_Logging.cpp.
References TP::logger::error(), log, and vformat().
void LoggingAdapter::TP_INFO | ( | const char * | fmt, |
... | |||
) |
Definition at line 60 of file TP_Logging.cpp.
References TP::logger::info(), log, and vformat().
Referenced by TP::Parameters::PrintParameters().
void LoggingAdapter::TP_LOG | ( | const char * | fmt, |
... | |||
) |
Definition at line 44 of file TP_Logging.cpp.
References TP::logger::log(), log, and vformat().
void LoggingAdapter::TP_WARN | ( | const char * | fmt, |
... | |||
) |
Definition at line 68 of file TP_Logging.cpp.
References log, vformat(), and TP::logger::warn().
logger* TP::LoggingAdapter::log |
Definition at line 51 of file TP_Logging.h.
Referenced by LoggingAdapter(), TP_ERROR(), TP_INFO(), TP_LOG(), and TP_WARN().