Essentia
2.1-beta6-dev
|
#include <debugging.h>
Public Member Functions | |
Logger () | |
void | debug (DebuggingModule module, const std::string &msg, bool resetHeader=false) |
void | info (const std::string &msg) |
void | warning (const std::string &msg) |
void | error (const std::string &msg) |
Protected Member Functions | |
void | flush () |
Protected Attributes | |
std::deque< std::string > | _msgQueue |
bool | _addHeader |
std::string | GREEN_FONT |
std::string | YELLOW_FONT |
std::string | RED_FONT |
std::string | RESET_FONT |
Asynchronous thread-safe logger object. (TODO: implementation is still not thread-safe)
|
inline |
References Logger::GREEN_FONT, Logger::RED_FONT, Logger::RESET_FONT, and Logger::YELLOW_FONT.
void debug | ( | DebuggingModule | module, |
const std::string & | msg, | ||
bool | resetHeader = false |
||
) |
void error | ( | const std::string & | msg | ) |
|
protected |
void info | ( | const std::string & | msg | ) |
void warning | ( | const std::string & | msg | ) |
|
protected |
|
protected |
|
protected |
Referenced by Logger::Logger().
|
protected |
Referenced by Logger::Logger().
|
protected |
Referenced by Logger::Logger().
|
protected |
Referenced by Logger::Logger().