Fix sample template types

This commit is contained in:
Olivier Poitrey 2017-05-19 09:48:01 -07:00
parent af9dd4ec23
commit a417fb1a8b
1 changed files with 3 additions and 3 deletions

6
log.go
View File

@ -117,11 +117,11 @@ func (l Level) String() string {
const ( const (
// Often samples log every 10 events. // Often samples log every 10 events.
Often = int64(10) Often = 10
// Sometimes samples log every 100 events. // Sometimes samples log every 100 events.
Sometimes = int64(100) Sometimes = 100
// Rarely samples log every 1000 events. // Rarely samples log every 1000 events.
Rarely = int64(1000) Rarely = 1000
) )
// A Logger represents an active logging object that generates lines // A Logger represents an active logging object that generates lines