LoggerFactory
public protocol LoggerFactory
Factory for obtaining namespaced loggers.
-
Get the current logger.
Declaration
Swift
func getLoggerFor(namespace: String, andClass clazz: Any) -> LogParameters
namespacenamespace in which to report this error
clazzthe class requesting the logger -returns: the logger
-
Set the default log level.
Declaration
Swift
func setDefault(level: LogLevel)Parameters
levelthe desired level
Install in Dash
LoggerFactory Protocol Reference