diff --git a/examples/batch2/batch2.go b/examples/batch2/batch2.go index c36f635..979e29b 100644 --- a/examples/batch2/batch2.go +++ b/examples/batch2/batch2.go @@ -8,7 +8,7 @@ import ( func main() { logger := log.New(log.WithTimestamp(), log.WithTimeFormat(time.Kitchen), - log.WithCaller(), log.WithPrefix("baking 🍪 ")) + log.WithCaller(), log.WithPrefix("baking 🍪 ")).With("batch", 2, "chocolateChips", true) logger.SetReportTimestamp(false) logger.SetReportCaller(false) logger.SetLevel(log.DebugLevel)