- limitRate
Returns a LogSampler that accepts once as per the frequency. The
- onMessages
Returns a LogSampler that only perform sampling if the log message matches with
one of the provided
- all
Returns a LogSampler that will accept a log event if all of the provided
LogSamplers accepted the lo
- any
Returns a LogSampler that will accept a log event if any of the provided
LogSamplers accepted the lo
- exponentialLimit
Returns a LogSampler that accepts once on every N calls, with N exponentially
increased from an init
- onError
Returns a LogSampler that only perform sampling if the log level is error or
lower.
- onInfo
Returns a LogSampler that only perform sampling if the log level is info or
lower.
- onLogLevel
Returns a LogSampler that only perform sampling if the event log level is
smaller than or equal to t
- onPattern
Returns a LogSampler that only perform sampling if the log message matches with
the regex Pattern.
- onTrace
Returns a LogSampler that only perform sampling if the log level is trace.
- onWarn
Returns a LogSampler that only perform sampling if the log level is warn or
lower.
- onceEvery
Returns a LogSampler that accepts once on every N calls.