logErrorMessage method
Implementation
void logErrorMessage(logging.Level level, String message) {
var messageLogger = _errorMessageLogger;
if (messageLogger == null) {
var parent = this.parent;
messageLogger = parent?._errorMessageLogger;
messageLogger ??= LoggerHandler.root._errorMessageLogger;
}
if (messageLogger != null) {
messageLogger(level, message);
}
}