code: function(levelTag, message, bufferMaxLength)
    {
      // add the log level tag (e.g. info, warn, etc.) to the front of the message
      message = Util.format('%s: %s', levelTag, message);
  
      // if the buffer is full, evict old messages
      while (buffer.length >= bufferMaxLength)
      {
        buffer.shift();
      }
  
      // add the new message to the buffer
      buffer.push(message);
    }
docs: Logs a message at a given level.
  
  @param {String} levelTag the tag associated with the level at which to log
  the message.
  @param {String} message the message to log.
  @param {Number} bufferMaxLength the maximum size to which the message
  buffer can grow.