DDLogFlag

Objective-C

enum DDLogFlag {}

Swift

struct DDLogFlag : OptionSet

Flags accompany each log. They are used together with levels to filter out logs.

  • 0…00001 DDLogFlagError

    Declaration

    Objective-C

    DDLogFlagError = (1 << 0)

    Swift

    static var error: DDLogFlag { get }
  • 0…00010 DDLogFlagWarning

    Declaration

    Objective-C

    DDLogFlagWarning = (1 << 1)

    Swift

    static var warning: DDLogFlag { get }
  • 0…00100 DDLogFlagInfo

    Declaration

    Objective-C

    DDLogFlagInfo = (1 << 2)

    Swift

    static var info: DDLogFlag { get }
  • 0…01000 DDLogFlagDebug

    Declaration

    Objective-C

    DDLogFlagDebug = (1 << 3)

    Swift

    static var debug: DDLogFlag { get }
  • 0…10000 DDLogFlagVerbose

    Declaration

    Objective-C

    DDLogFlagVerbose = (1 << 4)

    Swift

    static var verbose: DDLogFlag { get }