ZDCLogLevel

enum ZDCLogLevel {}

Log levels are used to filter out logs. Used together with flags.

  • No logs

    Declaration

    Objective-C

    ZDCLogLevelOff = 0

    Swift

    case off = 0
  • Error logs only

    Declaration

    Objective-C

    ZDCLogLevelError = (ZDCLogFlagError)

    Swift

    case error = 1
  • Error and warning logs

    Declaration

    Objective-C

    ZDCLogLevelWarning = (ZDCLogLevelError | ZDCLogFlagWarning)

    Swift

    case warning = 3
  • Error, warning and info logs

    Declaration

    Objective-C

    ZDCLogLevelInfo = (ZDCLogLevelWarning | ZDCLogFlagInfo)

    Swift

    case info = 7
  • Error, warning, info, and verbose logs

    Declaration

    Objective-C

    ZDCLogLevelVerbose = (ZDCLogLevelInfo | ZDCLogFlagVerbose)

    Swift

    case verbose = 15
  • All logs (1…11111)

    Declaration

    Objective-C

    ZDCLogLevelAll = (9223372036854775807L * 2UL + 1UL)

    Swift

    case all = 18446744073709551615