code: function Logger(options) {
    if (!(this instanceof Logger))
      return new Logger(options);
  
    this.level = Logger.levels.NONE;
    this.colors = Logger.HAS_TTY;
    this.console = true;
    this.shrink = true;
    this.closed = true;
    this.closing = false;
    this.filename = null;
    this.stream = null;
    this.contexts = Object.create(null);
    this.locker = new Lock();
  
    if (options)
      this.set(options);
  }
docs: Basic stdout and file logger.
  @alias module:node.Logger
  @constructor
  @param {(String|Object)?} options/level
  @param {String?} options.level
  @param {Boolean} [options.colors=true]