日志包

This commit is contained in:
2025-10-31 16:34:39 +08:00
parent 60e90ee0e3
commit 51aea0589e
5 changed files with 208 additions and 0 deletions

10
level.go Normal file
View File

@@ -0,0 +1,10 @@
package logger
const (
INFO = "INFO" // 信息
WARN = "WARN" // 警告
ERROR = "ERROR" // 错误
DEBUG = "DEBUG" // 调试
TRACE = "TRACE" // 追踪
FATAL = "FATAL" // 致命
)