u
This commit is contained in:
1 parent
11bf4e1e76
commit
2d036f4d95
7 files changed
+98
-13
No files matched your search
@@ -4,7 +4,7 @@ import (
|
||||
"base-framework/internal/app"
|
||||
"base-framework/pkg/config"
|
||||
"base-framework/pkg/logx"
|
||||
"base-framework/pkg/utils/snowflake"
|
||||
"base-framework/pkg/utils/uid"
|
||||
"log"
|
||||
"net/http"
|
||||
"strconv"
|
||||
@@ -23,7 +23,7 @@ func main() {
|
||||
}
|
||||
// 初始化日志
|
||||
logx.InitLogger()
|
||||
logx.Logger.Info("项目启动成功...", logx.Uint64("id", snowflake.NextID()))
|
||||
logx.Logger.Info("项目启动成功...", logx.Uint64("id", uid.NextID()))
|
||||
logx.Logger.Info("项目启动成功2...")
|
||||
|
||||
logx.Logger.Error("测试错误")
|
||||
|
||||
Reference in new issue
Block a user