aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-29 19:03:31 +0000
committerRunxi Yu <me@runxiyu.org>2024-12-29 19:03:31 +0000
commite81a96ddb5750b876292ae2d65574270242895fa (patch)
tree96cb2e78a21c82bf9a6dc7a87ee07e887a7f0d06
parentAdd clog (diff)
downloadgo-lindenii-common-e81a96ddb5750b876292ae2d65574270242895fa.tar.gz
go-lindenii-common-e81a96ddb5750b876292ae2d65574270242895fa.tar.zst
go-lindenii-common-e81a96ddb5750b876292ae2d65574270242895fa.zip
clog: Info
-rw-r--r--clog/clog.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/clog/clog.go b/clog/clog.go
index 464c193..8401665 100644
--- a/clog/clog.go
+++ b/clog/clog.go
@@ -26,3 +26,7 @@ func Error(str string, keyvals ...any) {
func Debug(str string, keyvals ...any) {
log("DEBUG "+str, keyvals)
}
+
+func Info(str string, keyvals ...any) {
+ log("INFO "+str, keyvals)
+}