public LoggingServiceBuilder successSamplingRate(float successSamplingRate) {
        checkArgument(0.0 <= successSamplingRate && successSamplingRate <= 1.0,
                      "successSamplingRate: %s (expected: 0.0 <= successSamplingRate <= 1.0)",
                      successSamplingRate);
        return successSampler(Sampler.random(successSamplingRate));
    }
Sets the rate at which to sample requests to log. Any number between {@code 0.0} and {@code 1.0} will
cause a random sample of the success requests to be logged.
core/src/main/java/com/linecorp/armeria/server/logging/LoggingServiceBuilder.java