code: func (handler *MemoryHandler) Handle(record *Record) error {
  	handler.lock.Lock()
  	handler.Messages = append(handler.Messages, handler.Formatter.Format(record))
  	handler.lock.Unlock()
  	return nil
  }
docs: // Handle appends message to Messages array.