#include <logging.h>
|
static void | init () |
|
static void | close () |
|
static void | setLogLevel (const LogLevel &level=LogLevel::INFO) |
|
template<typename... Args> |
static void | trace (fmt::format_string< Args... > msg, Args &&... args) |
|
template<typename... Args> |
static void | info (fmt::format_string< Args... > msg, Args &&... args) |
|
template<typename... Args> |
static void | debug (fmt::format_string< Args... > msg, Args &&... args) |
|
template<typename... Args> |
static void | warn (fmt::format_string< Args... > msg, Args &&... args) |
|
template<typename... Args> |
static void | critical (fmt::format_string< Args... > msg, Args &&... args) |
|
A wrapper class around the spdlog's
logging functions. For more info, check docs here:
- See also
- https://github.com/gabime/spdlog
◆ LoggingUnit()
mantis::LoggingUnit::LoggingUnit |
( |
| ) |
|
|
default |
◆ ~LoggingUnit()
mantis::LoggingUnit::~LoggingUnit |
( |
| ) |
|
|
default |
◆ close()
void mantis::LoggingUnit::close |
( |
| ) |
|
|
static |
◆ critical()
template<typename... Args>
static void mantis::LoggingUnit::critical |
( |
fmt::format_string< Args... > |
msg, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ debug()
template<typename... Args>
static void mantis::LoggingUnit::debug |
( |
fmt::format_string< Args... > |
msg, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ info()
template<typename... Args>
static void mantis::LoggingUnit::info |
( |
fmt::format_string< Args... > |
msg, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ init()
void mantis::LoggingUnit::init |
( |
| ) |
|
|
static |
◆ setLogLevel()
void mantis::LoggingUnit::setLogLevel |
( |
const LogLevel & |
level = LogLevel::INFO | ) |
|
|
static |
◆ trace()
template<typename... Args>
static void mantis::LoggingUnit::trace |
( |
fmt::format_string< Args... > |
msg, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
◆ warn()
template<typename... Args>
static void mantis::LoggingUnit::warn |
( |
fmt::format_string< Args... > |
msg, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following files:
- /home/runner/work/mantis/mantis/include/mantis/core/logging.h
- /home/runner/work/mantis/mantis/src/core/logging.cpp