← Back to Documentation Home

PROTOCOL

LoggerProtocol

public protocol LoggerProtocol

Protocol for logging operations

Methods

debug(_:file:function:line:)

func debug(_ message: String, file: String, function: String, line: Int)

info(_:file:function:line:)

func info(_ message: String, file: String, function: String, line: Int)

warning(_:file:function:line:)

func warning(_ message: String, file: String, function: String, line: Int)

error(_:file:function:line:)

func error(_ message: String, file: String, function: String, line: Int)

log(level:message:file:function:line:)

func log(level: LogLevel, message: String, file: String, function: String, line: Int)