logErrorTo method
Logs error messages of this logger to messageLogger
or to logDestiny
.
Implementation
void logErrorTo({MessageLogger? messageLogger, Object? logDestiny}) {
messageLogger ??= resolveLogDestiny(logDestiny);
_errorMessageLogger = messageLogger;
}