public LogWriterBuilder requestLogLevel(Class<? extends Throwable> clazz, LogLevel requestLogLevel) {
        requireNonNull(clazz, "clazz");
        requireNonNull(requestLogLevel, "requestLogLevel");
        return requestLogLevelMapper(RequestLogLevelMapper.of(clazz, requestLogLevel));
    }
Sets the {@link LogLevel} to use when the response fails with the specified {@link Throwable}.
core/src/main/java/com/linecorp/armeria/common/logging/LogWriterBuilder.java