AirshipLogLevel

@objc(UALogLevel)
public enum AirshipLogLevel : Int, Sendable

Represents the possible log levels.

  • Undefined log level.

    Declaration

    Swift

    @objc(UALogLevelUndefined)
    case undefined = -1
  • No log messages.

    Declaration

    Swift

    @objc(UALogLevelNone)
    case none = 0
  • Log error messages.

    Used for critical errors, parse exceptions and other situations that cannot be gracefully handled.

    Declaration

    Swift

    @objc(UALogLevelError)
    case error = 1
  • Log warning messages.

    Used for API deprecations, invalid setup and other potentially problematic situations.

    Declaration

    Swift

    @objc(UALogLevelWarn)
    case warn = 2
  • Log informative messages.

    Used for reporting general SDK status.

    Declaration

    Swift

    @objc(UALogLevelInfo)
    case info = 3
  • Log debugging messages.

    Used for reporting general SDK status with more detailed information.

    Declaration

    Swift

    @objc(UALogLevelDebug)
    case debug = 4
  • Log detailed verbose messages.

    Used for reporting highly detailed SDK status that can be useful when debugging and troubleshooting.

    Declaration

    Swift

    @objc(UALogLevelVerbose)
    case verbose = 5