public static ErrorTypeAwareLogger getErrorTypeAwareLogger(Class<?> key) {
        return ConcurrentHashMapUtils.computeIfAbsent(
                ERROR_TYPE_AWARE_LOGGERS,
                key.getName(),
                name -> new FailsafeErrorTypeAwareLogger(loggerAdapter.getLogger(name)));
    }
@Test
    void shouldReturnSameErrorTypeAwareLogger() {
        ErrorTypeAwareLogger logger1 =
                LoggerFactory.getErrorTypeAwareLogger(this.getClass().getName());
        ErrorTypeAwareLogger logger2 =
                LoggerFactory.getErrorTypeAwareLogger(this.getClass().getName());

        assertThat(logger1, is(logger2));
    }