logPluginException method
Log that the given non-priority exception was thrown, with the given
stackTrace by the given plugin.
Implementation
@override
void logPluginException(
PluginData plugin,
dynamic exception,
StackTrace? stackTrace,
) {
List<String> fields = <String>[
TAG_PLUGIN_EXCEPTION,
_toString(exception),
_toString(stackTrace),
];
plugin.addToFields(fields);
_instrumentationLogger.log(_join(fields));
}