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