Class EdgeCacheServiceLogConfig


  • public final class EdgeCacheServiceLogConfig
    extends java.lang.Object
    • Method Detail

      • enable

        public java.util.Optional<java.lang.Boolean> enable()
        Returns:
        Specifies whether to enable logging for traffic served by this service.
      • sampleRate

        public java.util.Optional<java.lang.Double> sampleRate()
        Returns:
        Configures the sampling rate of requests, where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0, and the value of the field must be in [0, 1]. This field can only be specified if logging is enabled for this service.