public LogWriterBuilder responseLogLevel(Class<? extends Throwable> clazz, LogLevel logLevel) {
        requireNonNull(clazz, "clazz");
        requireNonNull(logLevel, "logLevel");
        return responseLogLevelMapper(ResponseLogLevelMapper.of(clazz, logLevel));
    }
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