From e1c8c7de46b6e9b7428c582087e43f3c0623cb29 Mon Sep 17 00:00:00 2001 From: Pavel Griaznov Date: Mon, 4 Mar 2024 09:46:41 +0000 Subject: [PATCH] Rename context cleaning function Co-authored-by: Olivier Poitrey --- log_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log_test.go b/log_test.go index c8a98e84..ff21b4aa 100644 --- a/log_test.go +++ b/log_test.go @@ -151,7 +151,7 @@ func TestWithReset(t *testing.T) { Str("string", "foo"). Stringer("stringer", net.IP{127, 0, 0, 1}). Stringer("stringer_nil", nil). - EmptyFields(). + Reset(). Bytes("bytes", []byte("bar")). Hex("hex", []byte{0x12, 0xef}). Uint64("uint64", 10).