aboutsummaryrefslogtreecommitdiff
path: root/clog
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-13 14:58:45 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-13 14:58:45 +0800
commitba04a2b9388c0b2f78cc3d6c7732a5e3cba27cf3 (patch)
tree29affbac0075c518e5b26900fca3741065660146 /clog
parentmisc: First_or_panic (diff)
downloadgo-lindenii-common-ba04a2b9388c0b2f78cc3d6c7732a5e3cba27cf3.tar.gz
go-lindenii-common-ba04a2b9388c0b2f78cc3d6c7732a5e3cba27cf3.tar.zst
go-lindenii-common-ba04a2b9388c0b2f78cc3d6c7732a5e3cba27cf3.zip
clog: Remove unused keyvals
Diffstat (limited to 'clog')
-rw-r--r--clog/clog.go8
1 files 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)
}