Skip to content
Download

debug

mach::Logger::debug

Logs a debug message.

Logs a message at the debug level.

template <typename... Args>
void debug(fmt::format_string<Args...> format, Args&&... args) const;
Parameter Description
Args The types of the format arguments.
Parameter Description
format The format string for the log message.
args The arguments used to format the message.

This method is thread-safe and may be called from multiple threads.

logger.debug("Received request for {}", path);
Name Description
info Logs an informational message.
warning Logs a warning message.
error Logs an error message.