Provides simple logging utilities.
More...
#include <logger.h>
|
| static void | init () |
| | Initializes the logging system. The previous session's log is kept as RuntimePaths::previousLogPath().
|
| |
| static void | info (const std::string &msg) |
| | Logs an informational message.
|
| |
| static void | error (const std::string &msg) |
| | Logs an error message.
|
| |
| static void | debug (const std::string &msg) |
| | Logs a debug message.
|
| |
| static void | warn (const std::string &msg) |
| | Logs a warning message.
|
| |
| static void | flush () |
| |
Provides simple logging utilities.
◆ debug()
| void Logger::debug |
( |
const std::string & |
msg | ) |
|
|
static |
Logs a debug message.
- Parameters
-
◆ error()
| void Logger::error |
( |
const std::string & |
msg | ) |
|
|
static |
Logs an error message.
- Parameters
-
◆ flush()
Writes buffered messages to the log file now.
◆ info()
| void Logger::info |
( |
const std::string & |
msg | ) |
|
|
static |
Logs an informational message.
- Parameters
-
◆ init()
◆ warn()
| void Logger::warn |
( |
const std::string & |
msg | ) |
|
|
static |
Logs a warning message.
- Parameters
-
The documentation for this class was generated from the following files: