LogLevel
public enum LogLevel : UInt32, CaseIterable, Codable
Severity levels for log messages.
When a level is passed to LogControl, it defines the minimal severity
of messages that will be delivered, based on the following hierarchy:
LOG_LEVEL_INFOLOG_LEVEL_WARNINGLOG_LEVEL_ERRORLOG_LEVEL_FATAL
For example, LOG_LEVEL_ERROR includes both error and fatal messages.
It is not possible to receive only informational messages while excluding more severe messages
by using the LogControl threshold alone.
Use LogAppender to apply additional runtime filtering after that threshold
if needed.
Use LOG_LEVEL_OFF to disable logging entirely.
-
The severity value for informational messages.
Declaration
Swift
case logLevelInfo -
The severity value for warning messages.
Declaration
Swift
case logLevelWarning -
The severity value for error messages.
Declaration
Swift
case logLevelError -
The severity value for fatal messages.
Declaration
Swift
case logLevelFatal -
A special value to turn off logging.
Declaration
Swift
case logLevelOff