getLogger static method
Returns a new instance of a Logger
or an already registered one in case
it's already available one (and not yet deleted) with the same label
Implementation
static lib.Logger getLogger(final String label) {
return _registeredLoggers.putIfAbsent(
label,
() => _debugMode ? _consoleAndFileLogger(label) : _consoleLogger(label),
);
}