debug
mach::Logger::debug
Logs a debug message.
Description
Section titled “Description”Logs a message at the debug level.
Syntax
Section titled “Syntax”template <typename... Args>void debug(fmt::format_string<Args...> format, Args&&... args) const;Template Parameters
Section titled “Template Parameters”| Parameter | Description |
|---|---|
Args |
The types of the format arguments. |
Parameters
Section titled “Parameters”| Parameter | Description |
|---|---|
format |
The format string for the log message. |
args |
The arguments used to format the message. |
Thread Safety
Section titled “Thread Safety”This method is thread-safe and may be called from multiple threads.
Example
Section titled “Example”logger.debug("Received request for {}", path);See Also
Section titled “See Also”| Name | Description |
|---|---|
info |
Logs an informational message. |
warning |
Logs a warning message. |
error |
Logs an error message. |