logError method

void logError(
  1. Object? e,
  2. StackTrace? s
)

Implementation

void logError(Object? e, StackTrace? s) {
  var logger = this;
  logger ??= defaultAsyncExtensionErrorLogger;
  if (logger != null) {
    logger(e, s);
  }
}