Mandrill 2025.6.0
Loading...
Searching...
No Matches
Mandrill::Log Class Reference

Log class for logging messages in Mandrill. More...

#include <Log.h>

Public Types

enum class  Level {
  Info , Debug , Warning , Error ,
  Count
}
 

Static Public Member Functions

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.
 

Detailed Description

Log class for logging messages in Mandrill.

Member Function Documentation

◆ 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
...Args
Parameters
formatFormat string
...argsFormat 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
...Args
Parameters
formatFormat string
...argsFormat 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
...Args
Parameters
formatFormat string
...argsFormat 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
...Args
Parameters
formatFormat string
...argsFormat string arguments

The documentation for this class was generated from the following files: