Log class for logging messages in Mandrill.
More...
#include <Log.h>
|
enum class | Level {
Info
, Debug
, Warning
, Error
,
Count
} |
|
|
static void | log (Level level, const std::string msg) |
|
template<typename... Args> |
static void | Info (std::format_string< Args... > format, Args &&... args) |
| Log an information message using format strings.
|
|
template<typename... Args> |
static void | Debug (std::format_string< Args... > format, Args &&... args) |
| Log a debug message using format strings. This does not print message in release mode.
|
|
template<typename... Args> |
static void | Warning (std::format_string< Args... > format, Args &&... args) |
| Log a warning message using format strings.
|
|
template<typename... Args> |
static void | Error (std::format_string< Args... > format, Args &&... args) |
| Log an error message using format strings.
|
|
Log class for logging messages in Mandrill.
◆ Debug()
template<typename... Args>
static void Mandrill::Log::Debug |
( |
std::format_string< Args... > |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
Log a debug message using format strings. This does not print message in release mode.
- Template Parameters
-
- Parameters
-
format | Format string |
...args | Format string arguments |
◆ Error()
template<typename... Args>
static void Mandrill::Log::Error |
( |
std::format_string< Args... > |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
Log an error message using format strings.
- Template Parameters
-
- Parameters
-
format | Format string |
...args | Format string arguments |
◆ Info()
template<typename... Args>
static void Mandrill::Log::Info |
( |
std::format_string< Args... > |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
Log an information message using format strings.
- Template Parameters
-
- Parameters
-
format | Format string |
...args | Format string arguments |
◆ Warning()
template<typename... Args>
static void Mandrill::Log::Warning |
( |
std::format_string< Args... > |
format, |
|
|
Args &&... |
args |
|
) |
| |
|
inlinestatic |
Log a warning message using format strings.
- Template Parameters
-
- Parameters
-
format | Format string |
...args | Format string arguments |
The documentation for this class was generated from the following files:
- /home/runner/work/Mandrill/Mandrill/src/Log.h
- /home/runner/work/Mandrill/Mandrill/src/Log.cpp