Loggable

public protocol Loggable : AnyObject

A type that can interact with logging activity

  • If true logging enabled, otherwise no

    Declaration

    Swift

    var enabled: Bool { get set }
  • default prefix for logs related to SDK

    Declaration

    Swift

    var prefix: String { get set }
  • Log message

    Declaration

    Swift

    func log(_ message: String)

    Parameters

    message

    String instance to log