LogLevel

@objc(SFMCSdkLogLevel)
public enum LogLevel : Int, Comparable

Log Level detail definition

  • Tag: LogLevel
  • Debug log level

    Declaration

    Swift

    case debug
  • Warn log level

    Declaration

    Swift

    case warn
  • Error log level

    Declaration

    Swift

    case error
  • Fault log level

    Declaration

    Swift

    case fault
  • Declaration

    Swift

    public func getOSLogType() -> OSLogType?
  • Conforms to comparable protocol.

    Declaration

    Swift

    public static func < (left: LogLevel, right: LogLevel) -> Bool

    Parameters

    left

    First value to compare

    right

    Value to compare against

    Return Value

    Bool value indicating whether the value of the first argument is less than that of the second argument

  • Declaration

    Swift

    public func canLog(logLevel: LogLevel) -> Bool