Skip to content
Download

LogLevel

mach::LogLevel

Represents the severity of a log message.

Primary header:

#include <mach/LogLevel.hpp>

Convenience header:

#include <mach/mach.hpp>
enum class LogLevel {
Debug,
Info,
Warning,
Error
};
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.
  • Log messages below the configured log level are ignored.
  • The default log level is Info.
Name Description
Logger Writes log messages using the configured logger.
LoggerOptions Configures the built-in Mach logger.