Logger

@objc
public protocol Logger

Receives logging events from SDK objects

  • The received message is some kind of error.

    Declaration

    Swift

    func error(tag: String, message: String)

    Parameters

    tag

    a grouping identifier e.g. method name (#function)

    message

    short text description for logging

  • The received message is some kind of potential unexpected event.

    Declaration

    Swift

    func warn(tag: String, message: String)

    Parameters

    tag

    a grouping identifier e.g. method name (#function)

    message

    short text description for logging

  • The received message is general execution information.

    Declaration

    Swift

    func info(tag: String, message: String)

    Parameters

    tag

    a grouping identifier e.g. method name (#function)

    message

    short text description for logging

  • The received message is some kind of debug output.

    Declaration

    Swift

    func debug(tag: String, message: String)

    Parameters

    tag

    a grouping identifier e.g. method name (#function)

    message

    short text description for logging