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,
]) {
  _services
      .forEach((s) => s.logException(exception, stackTrace, attachments));
}