Logger constructor
Logger(
- String name
Create or find a Logger by name.
Calling Logger(name)
will return the same instance whenever it is called
with the same string name. Loggers created with this constructor are
retained indefinitely and available through attachedLoggers.
Implementation
factory Logger(String name) =>
_loggers.putIfAbsent(name, () => Logger._named(name));