void (LoggingHandlerBase loggingHandler) { Disposer.register(myLogsDisposable, loggingHandler); synchronized (myAdditionalLoggingHandlers) { myAdditionalLoggingHandlers.add(loggingHandler); } myChangeListener.run(); }