code: func (mlf *MockLogFile) Write(contents []byte) {
  	mlf.mu.Lock()
  	defer mlf.mu.Unlock()
  
  	mlf.logBuffer = append(mlf.logBuffer, contents...)
  }
docs: // Every function for writing into the MockLogFile should acquire the lock via either Write()
  // or writeWithHeader().