AWSUnifiedLoggingPlugin
final public class AWSUnifiedLoggingPlugin : LoggingCategoryPlugin
extension AWSUnifiedLoggingPlugin: AmplifyVersionable
A Logging category plugin that forwards calls to the OS’s Unified Logging system
-
Convenience property. Each instance of
AWSUnifiedLoggingPlugin
has the same keyDeclaration
Swift
public static var key: String { get }
-
Initializes the logging system with a default log, and immediately registers a default logger
Declaration
Swift
public init()
-
Declaration
Swift
public var key: String { get }
-
Look for optional configuration to disable logging, console logging is enabled by default unless configured otherwise
Declaration
Swift
public func configure(using configuration: Any?) throws
-
reset()
AsynchronousRemoves listeners and empties the message queue
Declaration
Swift
public func reset() async
-
Declaration
Swift
public var `default`: Logger { get }
-
Declaration
Swift
public func logger(forCategory category: String) -> Logger
-
Declaration
Swift
public func enable()
-
Declaration
Swift
public func disable()
-
Declaration
Swift
public func logger(forNamespace namespace: String) -> Logger
-
Declaration
Swift
public func logger(forCategory category: String, forNamespace namespace: String) -> Logger