code: func (s *Logging) Sync() error {
  	s.mutex.RLock()
  	w := s.writer
  	s.mutex.RUnlock()
  
  	return w.Sync()
  }
docs: // Sync satisfies the zapcore.WriteSyncer interface. It is used by the Core to
  // flush log records before terminating the process.