From f793a05288247ac6af1d44fbc3d843b408d51596 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 5 Feb 2025 06:28:51 -0600 Subject: switch to Disabled() --- error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'error.go') diff --git a/error.go b/error.go index 983b522..c1544d3 100644 --- a/error.go +++ b/error.go @@ -5,7 +5,7 @@ package log func Error(err error, a ...any) { - if !ERROR.Get() { + if ERROR.Disabled() { return } realPrintln("Error:", err) -- cgit v1.2.3