2
0
mirror of https://gitee.ltd/lxh/logger.git synced 2026-04-22 15:45:48 +08:00

:art:添加gorm默认日志

This commit is contained in:
comma
2025-10-25 22:53:00 +08:00
parent 90a3900b76
commit 7d94394da9
2 changed files with 10 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ package zap_logger
import (
"testing"
"gitee.ltd/lxh/logger/v2/log"
"code.mrx.ltd/pkg/logger/log"
)
func TestNewZapLogger(t *testing.T) {
@@ -12,7 +12,7 @@ func TestNewZapLogger(t *testing.T) {
t.Fatal(err)
return
}
log.Info("hahahahah")
log.Error("123321")
log.Panic("this is panic")