LogLevel
mach::LogLevel
Description
Section titled “Description”Represents the severity of a log message.
Headers
Section titled “Headers”Primary header:
#include <mach/LogLevel.hpp>Convenience header:
#include <mach/mach.hpp>Syntax
Section titled “Syntax”enum class LogLevel { Debug, Info, Warning, Error};Enumerators
Section titled “Enumerators”| Name | Description |
|---|---|
Debug |
Logs detailed diagnostic information intended for development and debugging. |
Info |
Logs general informational messages about normal application operation. |
Warning |
Logs unexpected conditions that do not prevent the application from continuing. |
Error |
Logs errors that indicate an operation has failed. |
Remarks
Section titled “Remarks”- Log messages below the configured log level are ignored.
- The default log level is Info.
See Also
Section titled “See Also”| Name | Description |
|---|---|
Logger |
Writes log messages using the configured logger. |
LoggerOptions |
Configures the built-in Mach logger. |