logPluginTimeout method Null safety

  1. @override
void logPluginTimeout(
  1. PluginData plugin,
  2. String request
)
override

Log that the given plugin took too long to execute the given request. This doesn't necessarily imply that there is a problem with the plugin, only that this particular response was not included in the data returned to the client.

Implementation

@override
void logPluginTimeout(PluginData plugin, String request) {
  List<String> fields = <String>[TAG_PLUGIN_TIMEOUT, request];
  plugin.addToFields(fields);
  _instrumentationLogger.log(_join(fields));
}