From 7891e785ca0a7924dd3a8f959c3f5bf016c318a6 Mon Sep 17 00:00:00 2001 From: Rebecca Mahany-Horton Date: Mon, 26 Feb 2024 10:14:23 -0500 Subject: [PATCH] NewNopLogger --- ee/keyidentifier/examples/key-identifier/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/keyidentifier/examples/key-identifier/main.go b/ee/keyidentifier/examples/key-identifier/main.go index 955ebe095..2ca156177 100644 --- a/ee/keyidentifier/examples/key-identifier/main.go +++ b/ee/keyidentifier/examples/key-identifier/main.go @@ -18,7 +18,7 @@ func main() { } func testIdentifyFile(path string) error { - kIdentifer, _ := keyidentifier.New(keyidentifier.WithSlogger(multislogger.New().Logger)) + kIdentifer, _ := keyidentifier.New(keyidentifier.WithSlogger(multislogger.NewNopLogger())) ki, err := kIdentifer.IdentifyFile(path) if err != nil {