CustomLogger

public protocol CustomLogger

Implement this protocol in order to provide your own custom logger for the SDK to log messages to. Your CustomLogger instance will only be passed message it should log according the set log level.

  • Logs a message if the message being logged has a log level less than the level configured on the Logger instance. Logging with LogType none does nothing.

    Declaration

    Swift

    func log(message: String)