Logger

public protocol Logger
  • The log level of the logger.

    Declaration

    Swift

    var logLevel: LogLevel { get set }
  • Logs a message at error level

    Declaration

    Swift

    func error(_ message: @autoclosure () -> String)
  • Logs the error at error level

    Declaration

    Swift

    func error(error: Error)
  • Logs a message at warn level

    Declaration

    Swift

    func warn(_ message: @autoclosure () -> String)
  • Logs a message at info level

    Declaration

    Swift

    func info(_ message: @autoclosure () -> String)
  • Logs a message at debug level

    Declaration

    Swift

    func debug(_ message: @autoclosure () -> String)
  • Logs a message at verbose level

    Declaration

    Swift

    func verbose(_ message: @autoclosure () -> String)