title: Disable winston logging when running unit tests?
body: <p>Can Winston logging be selectively disabled when executing unit tests of a node module? </p>
  
  <p>Ideally, I'd like to have logging for informational and debug purposes when the application is running, but be suppressed as to not clutter the presentation unit test results when I run my tests.</p>
  
  <p>My use of winston is internal to my module, something like this:</p>
  
  <pre><code>// MyModule.js
  var logger = require('winston');
  module.exports = function() {
    // does some stuff
    // and logs some stuff like so:
    logger.log('an informational message');
  }
  
  // MyModuleTest.js
  describe('MyModule', fucntion() {
    it('should do some stuff', function() {
       var myModuleUnderTest = require('MyModule');
       // some tests
    }
  }   
  </code></pre>