Skip to content

Commit

Permalink
Update zapcore/sampler.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Abhinav Gupta <mail@abhinavg.net>
  • Loading branch information
shirchen and abhinav committed Apr 7, 2020
1 parent 5cc987e commit f9b9ce6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zapcore/sampler.go
Expand Up @@ -170,6 +170,7 @@ type sampler struct {
// Keep in mind that zap's sampling implementation is optimized for speed over
// absolute precision; under load, each tick may be slightly over- or
// under-sampled.
//
// Deprecated: use NewSamplerWithOptions.
func NewSampler(core Core, tick time.Duration, first, thereafter int) Core {
return &sampler{
Expand Down

0 comments on commit f9b9ce6

Please sign in to comment.