From a417fb1a8b9cdd386e2ec76d8f8898de24e9733b Mon Sep 17 00:00:00 2001 From: Olivier Poitrey Date: Fri, 19 May 2017 09:48:01 -0700 Subject: [PATCH] Fix sample template types --- log.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/log.go b/log.go index d19a54a..f480bb5 100644 --- a/log.go +++ b/log.go @@ -117,11 +117,11 @@ func (l Level) String() string { const ( // Often samples log every 10 events. - Often = int64(10) + Often = 10 // Sometimes samples log every 100 events. - Sometimes = int64(100) + Sometimes = 100 // Rarely samples log every 1000 events. - Rarely = int64(1000) + Rarely = 1000 ) // A Logger represents an active logging object that generates lines