logZoneError method

void logZoneError(
  1. Object error,
  2. StackTrace stackTrace
)

Logs a zone error with LogLevel.error.

Implementation

void logZoneError(Object error, StackTrace stackTrace) => log(
      'Zone error',
      level: LogLevel.error,
      error: error,
      stackTrace: stackTrace,
    );