logErrorTo function

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

Implementation

void logErrorTo(
    {MessageLogger? messageLogger,
    Object? logDestiny,
    LoggerHandler? loggerHandler}) {
  loggerHandler = _resolveLoggerHandler(loggerHandler);
  loggerHandler.logErrorTo(
      messageLogger: messageLogger, logDestiny: logDestiny);
}