info
mach::Logger::info
Logs an informational message.
Description
Section titled “Description”Logs a message at the informational level.
Syntax
Section titled “Syntax”template <typename... Args>void info(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.info("Server listening on port {}", port);See Also
Section titled “See Also”| Name | Description |
|---|---|
debug |
Logs a debug message. |
warning |
Logs a warning message. |
error |
Logs an error message. |