removed uber zap from vendor and switched to dep from glide (#6)

This commit is contained in:
Steve Brunton authored and GitHub committed 2017-11-29 22:48:49 -05:00
1 parent be3ca4608c
commit c37abb638f
514 files changed
+25671 -44097

No files matched your search

+1
View File
@@ -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
}