void (@NotNull Disposable parentDisposable, Class<?> @NotNull ... classes) { for (Class<?> klass : classes) { Logger logger = Logger.getInstance('#' + klass.getName()); if (!logger.isTraceEnabled()) { logger.setLevel(LogLevel.TRACE); Disposer.register(parentDisposable, () -> logger.setLevel(LogLevel.INFO)); } } }