Type Definitions

The following type definitions are available globally.

  • Quality of Service names.

    Since macOS 10.10 and iOS 8.0, pthreads, dispatch queues and NSOperations express their scheduling priority by using an abstract classification called Quality of Service (QOS).

    This formatter will add a representation of this QOS in the log message by using those string constants. For example:

    2011-10-17 20:21:45.435 AppName[19928:5207 (QOS:DF)] Your log message here

    Where QOS is one of: - UI = User Interactive - IN = User Initiated - DF = Default - UT = Utility - BG = Background - UN = Unspecified

    Note: QOS will be absent in the log messages if running on OS versions that don’t support it.

    Declaration

    Objective-C

    typedef NSString *DDQualityOfServiceName

    Swift

    struct DDQualityOfServiceName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • Undocumented

    Declaration

    Objective-C

    typedef NSString *DDLoggerName

    Swift

    struct DDLoggerName : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • Undocumented

    Declaration

    Objective-C

    typedef NSColor DDColor