code: func (p *Plugin) getDependencyHealth(pluginName string, pluginStatus *status.PluginStatus) func() float64 {
  	p.Log.Infof("DependencyHealth for plugin %v: %v", pluginName, float64(pluginStatus.State))
  
  	return func() float64 {
  		health := float64(pluginStatus.State)
  		p.Log.Infof("Dependency Health %v: %v", pluginName, health)
  		return health
  	}
  }
docs: // getDependencyHealth returns plugin health status