26 #include <boost/shared_ptr.hpp> 27 #include <boost/filesystem/path.hpp> 33 using boost::filesystem::path;
66 void log(
const std::string & message,
LogLevel logLevel =
LOG_INFO,
const char *logColor = LOG_COLOR_DEFAULT);
static unsigned int mBarWidth
static const char * LOG_COLOR_GREEN
void log(const std::string &message, LogLevel logLevel=LOG_INFO, const char *logColor=LOG_COLOR_DEFAULT)
static void logLine(LogLevel logLevel=LOG_INFO)
static void displayProgress(double progress)
LogHelper(path logFilePath, LogLevel level)
std::string getTimeString()
boost::shared_ptr< LogHelper > LogHelperPtr
static LogHelperPtr mInstance
static const char * LOG_COLOR_DEFAULT
static void logMessage(const std::string &message, LogLevel logLevel=LOG_INFO, const char *logColor=LOG_COLOR_DEFAULT)
std::string getLogLevelString(LogLevel level)
static const char * LOG_COLOR_YELLOW
static LogHelperPtr getInstance()
static void init(path logFilePath, LogLevel level)
static const char * LOG_COLOR_BLUE
static const char * LOG_COLOR_MAGENTA
static const char * LOG_COLOR_RED
this namespace contains all generally usable classes.
LogHelper & operator=(const LogHelper &)