DDASLLogCapture

Objective-C


@interface DDASLLogCapture : NSObject

Swift

class DDASLLogCapture : NSObject

This class provides the ability to capture the ASL (Apple System Logs)

  • Start capturing logs

    Declaration

    Objective-C

    + (void)start;

    Swift

    class func start()
  • Stop capturing logs

    Declaration

    Objective-C

    + (void)stop;

    Swift

    class func stop()
  • The current capture level.

    Note

    Default log level: DDLogLevelVerbose (i.e. capture all ASL messages).

    Declaration

    Objective-C

    @property (class) DDLogLevel captureLevel;

    Swift

    class var captureLevel: DDLogLevel { get set }