SourceWarningEvent

@available(*, deprecated, message: "Warnings are now communicated through logs with level `.warning`. These logs are printed to the console by default. You can also access them by providing your own logger to `DebugConfig.logging.logger`\"")
@objcMembers
@objc(BMPSourceWarningEvent)
public class SourceWarningEvent : NSObject, SourceEvent

See SourceListener for more information on this event.

  • Declaration

    Swift

    public let name: String
  • Declaration

    Swift

    public let timestamp: TimeInterval
  • Declaration

    Swift

    public let code: SourceWarning.Code
  • Declaration

    Swift

    public let message: String
  • Declaration

    Swift

    public let data: DeficiencyData?
  • Declaration

    Swift

    public init(code: SourceWarning.Code, message: String, data: DeficiencyData?)