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.

# debug

case debug = 1

Messages will be logged until the debug level.

# info

case info = 2

Messages will be logged until the info level.

# warning

case warning = 3

Messages will be logged until the warning level.

# error

case error = 4

Messages will be logged until the error 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.