From e99630de65214714a4ac5e770fd9431fd37c61fc Mon Sep 17 00:00:00 2001 From: Tom Mitchell Date: Sat, 25 Feb 2023 06:18:52 -0800 Subject: [PATCH] add batch and chocolate chips NV pairs --- examples/batch2/batch2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)