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