AWSLogger constructor

AWSLogger([
  1. String namespace = rootNamespace
])

Creates a top-level AWSLogger.

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 AWSLogger([String namespace = rootNamespace]) {
  return activeLoggers[namespace] ??= AWSLogger.protected(namespace);
}