LoggingCategoryClientBehavior
public protocol LoggingCategoryClientBehavior
-
A reference to the
default
logger accessed by method calls directly toAmplify.Logging
, as inAmplify.Logging.debug("message")
. Default loggers must use the Logging category’slogLevel
.Declaration
Swift
var `default`: Logger { get }
-
Returns a category-specific logger. Defaults to using
Amplify.Logging.logLevel
.Declaration
Swift
func logger(forCategory category: String) -> Logger
-
enable plugin
Declaration
Swift
func enable()
-
disable plugin
Declaration
Swift
func disable()
-
adding namespace to match Android implementation
Declaration
Swift
func logger(forNamespace namespace: String) -> Logger
-
new api to support category and namespace
Declaration
Swift
func logger(forCategory category: String, forNamespace namespace: String) -> Logger