From ef61eb494b42a7bc226de1edc114579ce530abdd Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Nov 2024 01:23:43 -0600 Subject: try allowing switching to writing to http --- error.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'error.go') diff --git a/error.go b/error.go index 2235ad5..983b522 100644 --- a/error.go +++ b/error.go @@ -5,7 +5,9 @@ package log func Error(err error, a ...any) { - if ! ERROR.Get() { return } + if !ERROR.Get() { + return + } realPrintln("Error:", err) realPrintln(a...) } -- cgit v1.2.3