AmplifyLogger.category constructor

AmplifyLogger.category(
  1. Category category
)

Creates a AmplifyLogger for the Amplify category.

A logging utility providing the ability to emit log entries, configure the level at which entries are emitted, and register plugins which can handle log entries as they're emitted.

Implementation

factory AmplifyLogger.category(Category category) =>
    AmplifyLogger().createChild(category.name);