code: func NewFileLogConfig(rotate bool, maxSize uint) FileLogConfig {
  	return FileLogConfig{FileLogConfig: zaplog.FileLogConfig{
  		LogRotate: rotate,
  		MaxSize:   int(maxSize),
  	},
  	}
  }
docs: // NewFileLogConfig creates a FileLogConfig.