From ba04a2b9388c0b2f78cc3d6c7732a5e3cba27cf3 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Feb 2025 14:58:45 +0800 Subject: clog: Remove unused keyvals --- clog/clog.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clog/clog.go b/clog/clog.go index 1b1d8c3..99f4bd6 100644 --- a/clog/clog.go +++ b/clog/clog.go @@ -52,19 +52,19 @@ func Error(str string) { log("\x1b[1;91mERROR: "+str) } -func Warn(str string, keyvals ...any) { +func Warn(str string) { log("\x1b[1;93mWARNING: "+str) } -func Debug(str string, keyvals ...any) { +func Debug(str string) { log("\x1b[90mDEBUG: "+str) } -func Info(str string, keyvals ...any) { +func Info(str string) { log("\x1b[0mINFO: "+str) } -func Fatal(exit int, str string, keyvals ...any) { +func Fatal(exit int, str string) { log("\x1b[1;35mFATAL: "+str) os.Exit(exit) } -- cgit v1.2.3