removed uber zap from vendor and switched to dep from glide (#6)
This commit is contained in:
1
vendor/github.com/prometheus/common/promlog/log.go
generated
vendored
1
vendor/github.com/prometheus/common/promlog/log.go
generated
vendored
@@ -57,6 +57,7 @@ func (l *AllowedLevel) Set(s string) error {
|
||||
// with a timestamp. The output always goes to stderr.
|
||||
func New(al AllowedLevel) log.Logger {
|
||||
l := log.NewLogfmtLogger(log.NewSyncWriter(os.Stderr))
|
||||
l = level.NewFilter(l, al.o)
|
||||
l = log.With(l, "ts", log.DefaultTimestampUTC, "caller", log.DefaultCaller)
|
||||
return l
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user