logErrorTo method

void logErrorTo({
  1. MessageLogger? messageLogger,
  2. Object? logDestiny,
})

Implementation

void logErrorTo({MessageLogger? messageLogger, Object? logDestiny}) {
  messageLogger ??= resolveLogDestiny(logDestiny);

  _errorMessageLogger = messageLogger;
}