logPluginError method

  1. @override
void logPluginError(
  1. PluginData plugin,
  2. String code,
  3. String message,
  4. String stackTrace,
)
override

Log the fact that an error, described by the given message, was reported by the given plugin.

Implementation

@override
void logPluginError(
  PluginData plugin,
  String code,
  String message,
  String stackTrace,
) {
  List<String> fields = <String>[TAG_PLUGIN_ERROR, code, message, stackTrace];
  plugin.addToFields(fields);
  _instrumentationLogger.log(_join(fields));
}