anchor.diff:  void main() {
     Daemon daemon;
     NotifyingLogger notifyingLogger;
  -  BufferLogger bufferLogger;
   
     group('daemon', () {
       FakeDaemonStreams daemonStreams;
       DaemonConnection daemonConnection;
       setUp(() {
  +      BufferLogger bufferLogger;
         bufferLogger = BufferLogger.test();
         notifyingLogger = NotifyingLogger(verbose: false, parent: bufferLogger);
         daemonStreams = FakeDaemonStreams();
  
positive.code:     });
    });
  
    testUsingContext('notifyingLogger outputs trace messages in verbose mode', () async {
      final NotifyingLogger logger = NotifyingLogger(verbose: true, parent: bufferLogger);
  
      logger.printTrace('test');
  
      expect(bufferLogger.errorText, contains('test'));
    });
  
    testUsingContext('notifyingLogger ignores trace messages in non-verbose mode', () async {
      final NotifyingLogger logger = NotifyingLogger(verbose: false, parent: bufferLogger);
  
      final Future<LogMessage> messageResult = logger.onMessage.first;
      logger.printTrace('test');
      logger.printStatus('hello');
  
      final LogMessage message = await messageResult;
  
      expect(message.level, 'status');
      expect(message.message, 'hello');
      expect(bufferLogger.errorText, contains('test'));
    });
  
    testUsingContext('notifyingLogger buffers messages sent before a subscription', () async {
      final NotifyingLogger logger = NotifyingLogger(verbose: false, parent: bufferLogger);
  
      logger.printStatus('hello');
  
      final LogMessage message = await logger.onMessage.first;
  
      expect(message.level, 'status');
      expect(message.message, 'hello');
    });
  
    group('daemon queue', () {
  
negative.code: // found in the LICENSE file.
  
  // @dart = 2.8
  
  import 'dart:async';
  import 'dart:io' as io;
  