logException method

  1. @override
void logException(
  1. dynamic 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(
  dynamic exception, [
  StackTrace? stackTrace,
  List<InstrumentationServiceAttachment>? attachments,
]) {
  String message = _toString(exception);
  String trace = _toString(stackTrace);
  _instrumentationLogger.log(_join([TAG_EXCEPTION, message, trace]));
}