From 2cf02ee2e5f155205b847805b1bdccb42fcfec00 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 12 Oct 2024 16:21:47 -0500 Subject: half working 'daemon mode' Signed-off-by: Jeff Carr --- warn.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'warn.go') diff --git a/warn.go b/warn.go index 3ec21f6..d02d301 100644 --- a/warn.go +++ b/warn.go @@ -4,12 +4,8 @@ package log -import ( - origlog "log" -) - func Warn(a ...any) { if ! WARN.Ok() { return } if ! WARN.b { return } - origlog.Println(a...) + realPrintln(a...) } -- cgit v1.2.3