aboutsummaryrefslogtreecommitdiff
path: root/clog/clog.go
diff options
context:
space:
mode:
Diffstat (limited to 'clog/clog.go')
-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)
}