Mana
|
The Log namespace: Useful to write debug or info messages to the log file and/or console. More...
Functions | |
void | init () |
Initializes the log system. | |
void | setLogFile (const std::string &logFilename) |
Sets the file to log to and opens it. | |
void | setLogToStandardOut (bool value) |
Sets whether the log should be written to standard output. | |
void | verbose (const char *log_text,...) LOG_PRINTF_ATTR |
void | debug (const char *log_text,...) LOG_PRINTF_ATTR |
void | info (const char *log_text,...) LOG_PRINTF_ATTR |
void | warn (const char *log_text,...) LOG_PRINTF_ATTR |
void | error (const char *log_text,...) LOG_PRINTF_ATTR |
void | vinfo (const char *log_text, va_list ap) |
The Log namespace: Useful to write debug or info messages to the log file and/or console.
The messages will be timestamped.
void Log::debug | ( | const char * | log_text, |
... | |||
) |
void Log::error | ( | const char * | log_text, |
... | |||
) |
void Log::info | ( | const char * | log_text, |
... | |||
) |
void Log::setLogFile | ( | const std::string & | logFilename | ) |
void Log::setLogToStandardOut | ( | bool | value | ) |
void Log::verbose | ( | const char * | log_text, |
... | |||
) |
void Log::vinfo | ( | const char * | log_text, |
va_list | ap | ||
) |
void Log::warn | ( | const char * | log_text, |
... | |||
) |