function Logger(name, options) {
  this.name     = name;
  this._enabled = _defaults(options, 'enabled');
  this._stream  = _defaults(options, 'stream');
  this._level   = _defaults(options, 'level');

  var logger = this;
  _loggers[name] = this;

  /**
   * Create the logger method for each level. Set it up in the constructor
   * to properly lock in the context.
   */
  Object.keys(levels).forEach(function(level) {
    logger[level] = function() {
      return logger.write(levels[level], arguments);
    };
  });
}
function Logger(name, options) {
  this.name     = name;
  this._enabled = _defaults(options, 'enabled');
  this._stream  = _defaults(options, 'stream');
  this._level   = _defaults(options, 'level');

  var logger = this;
  _loggers[name] = this;

  
  Object.keys(levels).forEach(function(level) {
    logger[level] = function() {
      return logger.write(levels[level], arguments);
    };
  });
}
function Logger ( name , options ) { this . name = name ; this . _enabled = _defaults ( options , 'enabled' ) ; this . _stream = _defaults ( options , 'stream' ) ; this . _level = _defaults ( options , 'level' ) ; var logger = this ; _loggers [ name ] = this ; /**
   * Create the logger method for each level. Set it up in the constructor
   * to properly lock in the context.
   */ Object . keys ( levels ) . forEach ( function ( level ) { logger [ level ] = function ( ) { return logger . write ( levels [ level ] , arguments ) ; } ; } ) ; }
@class
Logger instance with a name

@param {string} name - Name of the logger
@class Logger instance with a name