code: @SuppressWarnings("unchecked")
    public <L, E> EventLog<L, E> getOrCreateEventLog(Class<?> type, String name, Function<EventLog<L, E>, L> listenerFactory) {
      return eventRegistries.computeIfAbsent(type, t -> new ConcurrentHashMap<>())
          .computeIfAbsent(name, n -> new EventLog<>(listenerFactory));
    }
docs: Returns an event log, creating a new log if none exists.
  
  @param type the log type
  @param name the log name
  @param <L> the listener type
  @param <E> the event type
  @return the event log