Logger
open class Logger
Logger is used to format a log.
Version
1.5.0Date
23/03/2019-
The default logger.
Declaration
Swift
public static let standard: Logger -
Log an info.
Declaration
Swift
open func logInfo(_ info: String, withDetail detail: Any? = nil)Parameters
infoThe info.
detailThe detail of the info.
-
Log a warning.
Declaration
Swift
open func logWarning(_ warning: String, withDetail detail: Any? = nil)Parameters
warningThe warning.
detailThe detail of the warning.
-
Log an error.
Declaration
Swift
open func logError(_ error: String, withDetail detail: Any? = nil)Parameters
errorThe error.
detailThe detail of the error.
-
Log an error.
Declaration
Swift
open func log(_ error: Error)Parameters
errorThe error.
Logger Class Reference