summaryrefslogtreecommitdiff
path: root/internal/utils/log/level.go
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-10-11 14:16:21 +0300
committerKyren223 <ulmliad223@gmail.com>2024-10-11 14:16:21 +0300
commit481fb0027e3aac60df8ea997106d969db6fd0c78 (patch)
tree1aade1bcadb91bdf0857d9d4a0458ef549996e09 /internal/utils/log/level.go
parent6b2a93eadd54b1b16028f0e95faabc9cb2184445 (diff)
remove: custom logging in favor of standard lib log package
Diffstat (limited to 'internal/utils/log/level.go')
-rw-r--r--internal/utils/log/level.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/internal/utils/log/level.go b/internal/utils/log/level.go
deleted file mode 100644
index 1d3ca1b..0000000
--- a/internal/utils/log/level.go
+++ /dev/null
@@ -1,28 +0,0 @@
-package log
-
-type Level int
-
-func (l Level) String() string {
- switch l {
- case LevelDebug:
- return "DEBUG"
- case LevelInfo:
- return "INFO"
- case LevelWarn:
- return "WARN"
- case LevelError:
- return "ERROR"
- case LevelFatal:
- return "FATAL"
- default:
- return ""
- }
-}
-
-const (
- LevelDebug Level = -4
- LevelInfo Level = 0
- LevelWarn Level = 4
- LevelError Level = 8
- LevelFatal Level = 12
-)