Logger constructor
Logger(
- String name
Singleton constructor. Calling new Logger(name)
will return the same
actual instance whenever it is called with the same string name.
Implementation
factory Logger(String name) =>
_loggers.putIfAbsent(name, () => Logger._named(name));