logException method

  1. @override
void logException(
  1. Object exception, [
  2. StackTrace? stackTrace,
  3. List<InstrumentationServiceAttachment>? attachments
])
override

Log that the given non-priority exception was thrown, with the given stackTrace.

Implementation

@override
void logException(
  Object exception, [
  StackTrace? stackTrace,
  List<InstrumentationServiceAttachment>? attachments,
]) {
  for (var service in _services) {
    service.logException(exception, stackTrace, attachments);
  }
}