title: How to flush winston logs?
body: <p>I want to flush the winston logger <em>before</em> <code>process.exit</code>.</p>
  
  <pre><code>process.on('uncaughtException', function(err){
      logger.error('Fatal uncaught exception crashed cluster', err);
      logger.flush(function(){ // &lt;-
          process.exit(1);
      });
  });
  </code></pre>
  
  <p>Is there anything like <code>logger.flush</code> available? I couldn't find anything about it, other than people complaining about winston not being very actively maintained.</p>
  
  <p>As an alternative, is there any popular (actively maintained) multi-transport logging framework that provides a flushing capability?</p>