Logger.
More...
#include <logger.hpp>
|
| static const LoggerLevel & | getlevel () |
| | Get the logger level (see LoggerLevel)
|
| |
| static void | setLevel (const LoggerLevel &level) |
| | Set the logger level (see LoggerLevel)
|
| |
| template<typename T > |
| static void | info (const T &msg) |
| | Format a info message and log it in white.
|
| |
| template<typename T > |
| static void | err (const T &msg) |
| | Format a error message and log it in red.
|
| |
| template<typename T > |
| static void | warn (const T &msg) |
| | Format a warn message and log it in yellow.
|
| |
| template<typename T > |
| static void | debug (const T &msg) |
| | Format a debug message and log it in blue.
|
| |
◆ debug()
template<typename T >
| static void utils::Logger::debug |
( |
const T & | msg | ) |
|
|
inlinestatic |
Format a debug message and log it in blue.
- Template Parameters
-
- Parameters
-
◆ err()
template<typename T >
| static void utils::Logger::err |
( |
const T & | msg | ) |
|
|
inlinestatic |
Format a error message and log it in red.
- Template Parameters
-
- Parameters
-
◆ getlevel()
| static const LoggerLevel & utils::Logger::getlevel |
( |
| ) |
|
|
inlinestatic |
Get the logger level (see LoggerLevel)
- Returns
- const LoggerLevel&
◆ info()
template<typename T >
| static void utils::Logger::info |
( |
const T & | msg | ) |
|
|
inlinestatic |
Format a info message and log it in white.
- Template Parameters
-
- Parameters
-
◆ setLevel()
| static void utils::Logger::setLevel |
( |
const LoggerLevel & | level | ) |
|
|
inlinestatic |
Set the logger level (see LoggerLevel)
- Parameters
-
◆ warn()
template<typename T >
| static void utils::Logger::warn |
( |
const T & | msg | ) |
|
|
inlinestatic |
Format a warn message and log it in yellow.
- Template Parameters
-
- Parameters
-
The documentation for this class was generated from the following file: