LoggerMessageType
public enum LoggerMessageType : Int
extension LoggerMessageType: CustomStringConvertible
The type of a particular log message. It is passed with the message to be logged to the actual logger implementation. It is also used to enable filtering of the log based on the minimal type to log.
-
Log message type for logging when entering into a function.
Declaration
Swift
case entry = 1
-
Log message type for logging when exiting from a function.
Declaration
Swift
case exit = 2
-
Log message type for logging a debugging message.
Declaration
Swift
case debug = 3
-
Log message type for logging messages in verbose mode.
Declaration
Swift
case verbose = 4
-
Log message type for logging an informational message.
Declaration
Swift
case info = 5
-
Log message type for logging a warning message.
Declaration
Swift
case warning = 6
-
Log message type for logging an error message.
Declaration
Swift
case error = 7
-
Convert a
LoggerMessageType
into a printable format.Declaration
Swift
public var description: String { get }