code: private EventLogger getCustomEventLogger(MuleContext muleContext) {
  		Object obj = getCustomEventLoggerFromRegistry(muleContext);
  		if (obj == null) {
  			log.debug("no custom event logger defined using bean name: {}",
  					CUSTOM_EVENT_LOGGER_BEAN_NAME);
  			return null;
  		}
  		if (obj instanceof EventLogger) {
  			log.debug(
  					"custom event logger defined using bean name: {}, impl class: {}",
  					CUSTOM_EVENT_LOGGER_BEAN_NAME, obj.getClass().getName());
  			return (EventLogger) obj;
  		} else {
  			String errMsg = "custom event logger defined using bean name: "
  					+ CUSTOM_EVENT_LOGGER_BEAN_NAME
  					+ " does not implement required interface: "
  					+ EventLogger.class.getName() + ", impl class: "
  					+ obj.getClass().getName();
  			log.error(errMsg);
  			throw new IllegalStateException(errMsg);
  		}
  	}
docs: invoked?