docs: public static void addListener(String name, LogEventListener listener) {
      Map<String, LogEventListener> threadListeners = listeners.get();
      if (threadListeners == null) {
        threadListeners = new HashMap<>();
      }
  
      threadListeners.put(name, listener);
      listeners.set(threadListeners);
    }