From a9fbef94b9994ee0e703f512032211dbbeca7f7a Mon Sep 17 00:00:00 2001 From: apstndb <803393+apstndb@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:12:04 +0900 Subject: [PATCH] Fix default logger assigning --- logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger.go b/logger.go index 04afb9c761..1a5ae5dcdb 100644 --- a/logger.go +++ b/logger.go @@ -19,7 +19,7 @@ func init() { // Parse manually because testing.Verbose() panics unless flag.Parse() has done. for _, arg := range os.Args { if strings.EqualFold(arg, "-test.v=true") || strings.EqualFold(arg, "-v") { - return + Logger = log.New(os.Stderr, "", log.LstdFlags) } } }