logException method
void
logException(
- dynamic exception, [
- StackTrace? stackTrace,
- 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]));
}