LogManager
public actor LogManager
LogManager to access the global logger instances
-
Global logger instance. If no logger is set, it defaults to
NoneLogger().Declaration
Swift
public static var logger: Logger { get set } -
Static logger of
NoneLoggertypeDeclaration
Swift
public static var none: Logger { get } -
Static logger of
StandardLoggertypeDeclaration
Swift
public static var standard: Logger { get } -
Static logger of
WarningLoggertypeDeclaration
Swift
public static var warning: Logger { get } -
Returns a
Loggerfor the given log-level string from the unified JSON configuration.Value Logger "NONE"/ nilNoneLogger"ERROR"WarningLogger"WARN"WarningLogger"INFO"StandardLogger"DEBUG"StandardLoggerunknown NoneLoggerDeclaration
Swift
public static func logger(forLevel level: String) -> Logger
View on GitHub