Logging
public protocol Logging
common interface for Loggers
-
log an error
Declaration
Swift
func error(_ message: String, _ file: String, _ function: String, _ line: Int)
Parameters
message
to be logged
file
in which the message occurred
function
in wich the message occurred
line
line number in which the message occurred
message
to be logged
-
log a warning
Declaration
Swift
func warning(_ message: String, _ file: String, _ function: String, _ line: Int)
Parameters
message
to be logged
file
in which the message occurred
function
in wich the message occurred
line
line number in which the message occurred
-
log an info
Declaration
Swift
func info(_ message: String, _ file: String, _ function: String, _ line: Int)
Parameters
message
to be logged
file
in which the message occurred
function
in wich the message occurred
line
line number in which the message occurred
-
log debugging-related info
Declaration
Swift
func debug(_ message: String, _ file: String, _ function: String, _ line: Int)
Parameters
message
to be logged
file
in which the message occurred
function
in wich the message occurred
line
line number in which the message occurred