aboutsummaryrefslogtreecommitdiff
path: root/meselog
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-30 01:23:40 +0000
committerRunxi Yu <me@runxiyu.org>2024-12-30 01:23:40 +0000
commitdce03955174abe5ad83c01c930e3bf47fe39d8ce (patch)
treecf4cddc3f83bc6eb9efd5be959d349fa47606c84 /meselog
parentReformat (diff)
downloadmeseircd-dce03955174abe5ad83c01c930e3bf47fe39d8ce.tar.gz
meseircd-dce03955174abe5ad83c01c930e3bf47fe39d8ce.tar.zst
meseircd-dce03955174abe5ad83c01c930e3bf47fe39d8ce.zip
Revamp
Diffstat (limited to 'meselog')
-rw-r--r--meselog/meselog.go27
1 files changed, 0 insertions, 27 deletions
diff --git a/meselog/meselog.go b/meselog/meselog.go
deleted file mode 100644
index 402d674..0000000
--- a/meselog/meselog.go
+++ /dev/null
@@ -1,27 +0,0 @@
-package meselog
-
-import (
- "fmt"
-)
-
-func log(str string, keyvals []any) {
- fmt.Print(str + " ")
- for i, j := range keyvals {
- if i&1 == 0 {
- fmt.Printf("%v=", j)
- } else if i == len(keyvals)-1 {
- fmt.Printf("%#v", j)
- } else {
- fmt.Printf("%#v ", j)
- }
- }
- fmt.Print("\n")
-}
-
-func Error(str string, keyvals ...any) {
- log("ERROR "+str, keyvals)
-}
-
-func Debug(str string, keyvals ...any) {
- log("DEBUG "+str, keyvals)
-}