LoggingLevel

ENUM

LoggingLevel

@objc public enum LoggingLevel: Int, Comparable

Enum describing on what level messages will be logged or logging will be turned off.

Cases

none

case none = 0

Logging is not allowed.

error

case error

Messages will be logged until the error level.

info

case info

Messages will be logged until the info level.

debug

case debug

Messages will be logged until the debug level.

Methods

<(_:_:)

public static func < (lhs: LoggingLevel, rhs: LoggingLevel) -> Bool

Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.

  • Parameters:
  • lhs: A value to compare.
  • rhs: Another value to compare.