BugsnagBreadcrumb

Objective-C

@class BugsnagBreadcrumb;

Swift

class BugsnagBreadcrumb : NSObject

A short log message, representing an action that occurred in your app, to aid with debugging.

  • The date when the breadcrumb was left

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSDate *timestamp;

    Swift

    var timestamp: Date? { get }
  • The type of breadcrumb

    Declaration

    Objective-C

    @property (nonatomic) BSGBreadcrumbType type;

    Swift

    var type: BSGBreadcrumbType { get set }
  • The description of the breadcrumb

    Declaration

    Objective-C

    @property (nonatomic, copy, nonnull) NSString *message;

    Swift

    var message: String { get set }
  • Diagnostic data relating to the breadcrumb.

    The dictionary should be a valid JSON object.

    Declaration

    Objective-C

    @property (nonatomic, copy, nonnull) NSDictionary *metadata;

    Swift

    var metadata: [AnyHashable : Any] { get set }