FreSwiftLogger
public class FreSwiftLogger
FreSwiftLogger: Logger utility for logging any FRE errors which occur
-
context: sets/gets the FreContextSwift
Declaration
Swift
open var context: FreContextSwift? -
shared: returns the shared instance
Declaration
Swift
public static let shared: FreSwiftLogger -
error: traces the message to the console
Declaration
Swift
public func error(message: String, stackTrace: String? = nil, type: FreError.Code, line: Int = #line, column: Int = #column, file: String = #file)Parameters
messagemessage to log
stackTracestack trace to log
typetype of error
lineline where error occurred
columncolumn where error occurred
filefile name where error occurred
-
info: traces the message to the console
Declaration
Swift
public func info(message: String, line: Int = #line, column: Int = #column, file: String = #file)Parameters
messagemessage to log
lineline where error occurred
columncolumn where error occurred
filefile name where error occurred
View on GitHub
Install in Dash
FreSwiftLogger Class Reference