DefaultLogger

public final class DefaultLogger : Logger

The default logger currently used within the logging interceptors using either os_log or print

  • Undocumented

    Declaration

    Swift

    public init()
  • Function to log either to os_log or print according to the os used. Prior iOS 10 or OSX 10.12 print is used, os_log for newer versions.

    Declaration

    Swift

    public func log(_ message: String)

    Parameters

    message

    The message to be logged.