LoggerLevel

@objc public enum LoggerLevel: Int, CustomStringConvertible

Logging verbosity levels

  • off

    No logging will be output

    Declaration

    Swift

    case off = 0
  • Output Fatal level log messages only

    Declaration

    Swift

    case fatal = 1
  • Error level

    Declaration

    Swift

    case error = 2
  • Warn level

    Declaration

    Swift

    case warn = 3
  • Info level

    Declaration

    Swift

    case info = 4
  • Debug level

    Declaration

    Swift

    case debug = 5
  • Trace level - most verbose. All messages are output.

    Declaration

    Swift

    case trace = 6
  • Initialization by string

    Declaration

    Swift

    public init?(levelName: String)
  • String name of currently set level

    Declaration

    Swift

    public var description: String