Logger

public protocol Logger

Logger to be used within the logging interceptors. To have your own logging mechanism simply conform to this protocol to be able to use your implementation within the interceptors.

  • Function which will be called from the logging interceptors within their intercept method.

    Declaration

    Swift

    func log(_ message: String)

    Parameters

    message

    The message to be logged.