code: function memoryAppender(layout, timezoneOffset) {
          layout = layout || layouts.basicLayout;
          return function(loggingEvent) {
              if((buffer.length + 1) > maxBufferSize)
              {
                  var numtoRemove = (buffer.length - maxBufferSize) + 1;
                  if(numtoRemove > 0){ buffer.splice(0, numtoRemove); }
              }
              buffer.push(layout(loggingEvent, timezoneOffset));
          };
      }
docs: ******************************************************
  Constructs a new memory appender.
  ******************************************************