Logger constructor

Logger(
  1. String name, {
  2. LogLevel showLevel = LogLevel.info,
})

Implementation

factory Logger(String name, {LogLevel showLevel = LogLevel.info}) => _loggers
    .putIfAbsent(name, () => Logger._named(name, showLevel: showLevel));