LogLevel
public enum LogLevel : Int, Comparable
The available log levels.
-
A failure.
Declaration
Swift
case severe = 1000
-
A potential problem.
Declaration
Swift
case warning = 900
-
An informational message.
Declaration
Swift
case info = 800
-
A debug messsage.
Declaration
Swift
case fine = 500
-
A more detailed debug message.
Declaration
Swift
case finer = 400
-
An even more detailed debug message.
Declaration
Swift
case finest = 300
-
As the value of
Logger.level
, disables all logging.Declaration
Swift
case off = 10000
-
As the value of
Logger.level
, logs all log records.Declaration
Swift
case all = 0
-
Compares the
rawValue
oflhs
andrhs
.Declaration
Swift
public static func < (lhs: LogLevel, rhs: LogLevel) -> Bool