code: func (configMgr *ConfigurationManager) OnEvent(event *core.Event) {
  	err := configMgr.updateEvent(event)
  	if err != nil {
  		openlogging.GetLogger().Error("failed in updating event with error: " + err.Error())
  	}
  }
docs: // OnEvent Triggers actions when an event is generated