LogLevel

public enum LogLevel : Int

The severity of the log message.

When setting Logger.logLevelFilter, the LogLevels, ordered from most restrictive to least, are: none, analytics, fatal, error, warn, info, and debug.

Note

Set Logger.logLevelFilter to .none to prohibit logs from being recorded.
  • Used to turn off all logging, including analytics data.

    Declaration

    Swift

    case none
  • Only logs analytics data. Logger will record nothing.

    Declaration

    Swift

    case analytics
  • Indicates that the application crashed or entered a corrupt state.

    Declaration

    Swift

    case fatal
  • An unintended failure.

    Declaration

    Swift

    case error
  • A warning that may or may not be an actual issue.

    Declaration

    Swift

    case warn
  • Any useful information that is not considered problematic.

    Declaration

    Swift

    case info
  • Fine-level detail used for debugging purposes.

    Declaration

    Swift

    case debug
  • The string representation of the log level.

    Declaration

    Swift

    public var asString: String { get }