Level
public enum Level : String
Enumeration of logging levels in the decreasing order of verbosity and increasing order of importance: Level.debug
, Level.warning
, Level.error
, Level.fatal
.
-
Lots of informative messages only useful for developers while debugging
Declaration
Swift
case debug = "Debug"
-
Some unexpected execution paths that may be useful for power-users
Declaration
Swift
case warning = "Warning"
-
Only those errors that are real and cause visible issues to the end-users
Declaration
Swift
case error = "Error"
-
Completely unexpected events that are usually indicative of fundamental bugs
Declaration
Swift
case fatal = "Fatal"