anchor.diff:    @override
     void logPluginError(
         PluginData plugin, String code, String message, String stackTrace) {
  -    if (_instrumentationLogger != null) {
  -      List<String> fields = <String>[
  -        TAG_PLUGIN_ERROR,
  -        code,
  -        message,
  -        stackTrace
  -      ];
  -      plugin.addToFields(fields);
  -      _instrumentationLogger!.log(_join(fields));
  -    }
  +    List<String> fields = <String>[TAG_PLUGIN_ERROR, code, message, stackTrace];
  +    plugin.addToFields(fields);
  +    _instrumentationLogger.log(_join(fields));
     }
   
     @override
     void logPluginException(
         PluginData plugin, dynamic exception, StackTrace? stackTrace) {
  -    if (_instrumentationLogger != null) {
  -      List<String> fields = <String>[
  -        TAG_PLUGIN_EXCEPTION,
  -        _toString(exception),
  -        _toString(stackTrace)
  -      ];
  -      plugin.addToFields(fields);
  -      _instrumentationLogger!.log(_join(fields));
  -    }
  +    List<String> fields = <String>[
  +      TAG_PLUGIN_EXCEPTION,
  +      _toString(exception),
  +      _toString(stackTrace)
  +    ];
  +    plugin.addToFields(fields);
  +    _instrumentationLogger.log(_join(fields));
     }
   
     @override
     void logPluginNotification(String pluginId, String notification) {
  -    if (_instrumentationLogger != null) {
  -      _instrumentationLogger!.log(
  -          _join([TAG_PLUGIN_NOTIFICATION, notification, pluginId, '', '']));
  -    }
  +    _instrumentationLogger
  +        .log(_join([TAG_PLUGIN_NOTIFICATION, notification, pluginId, '', '']));
     }
   
     @override
     void logPluginRequest(String pluginId, String request) {
  -    if (_instrumentationLogger != null) {
  -      _instrumentationLogger!
  -          .log(_join([TAG_PLUGIN_REQUEST, request, pluginId, '', '']));
  -    }
  +    _instrumentationLogger
  +        .log(_join([TAG_PLUGIN_REQUEST, request, pluginId, '', '']));
     }
   
     @override
     void logPluginResponse(String pluginId, String response) {
  -    if (_instrumentationLogger != null) {
  -      _instrumentationLogger!
  -          .log(_join([TAG_PLUGIN_RESPONSE, response, pluginId, '', '']));
  -    }
  +    _instrumentationLogger
  +        .log(_join([TAG_PLUGIN_RESPONSE, response, pluginId, '', '']));
     }
   
     @override
     void logPluginTimeout(PluginData plugin, String request) {
  -    if (_instrumentationLogger != null) {
  -      List<String> fields = <String>[TAG_PLUGIN_TIMEOUT, request];
  -      plugin.addToFields(fields);
  -      _instrumentationLogger!.log(_join(fields));
  -    }
  +    List<String> fields = <String>[TAG_PLUGIN_TIMEOUT, request];
  +    plugin.addToFields(fields);
  +    _instrumentationLogger.log(_join(fields));
     }
   
     @override
  
positive.code:     String normalize(String? value) =>
          value != null && value.isNotEmpty ? value : 'unknown';
  
      if (_instrumentationLogger != null) {
        _instrumentationLogger!.log(_join([
          TAG_VERSION,
          uuid,
          normalize(clientId),
          normalize(clientVersion),
          serverVersion,
          sdkVersion
        ]));
      }
    }
  
    @override
    void logWatchEvent(String folderPath, String filePath, String changeType) {
      if (_instrumentationLogger != null) {
        _instrumentationLogger!
            .log(_join([TAG_WATCH_EVENT, folderPath, filePath, changeType]));
      }
    }
  
    @override
    Future<void> shutdown() async {
      await _instrumentationLogger?.shutdown();
    }
  
    /// Write an escaped version of the given [field] to the given [buffer].
  
negative.code: 
    /// Log the given message with the given tag.
    void _log(String tag, String message) {
      _instrumentationLogger.log(_join([tag, message]));
    }
  
    /// Convert the given [object] to a string.
  