封装的方法类

This commit is contained in:
Yun
2023-09-16 20:14:20 +08:00
commit 1bbc7db405
59 changed files with 3671 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package loggerx_test
import (
"context"
"testing"
"yunink/app/pkg/loggerx"
)
// func TestMain(m *testing.M) {
// }
func TestLogger(t *testing.T) {
l := loggerx.InitLogger("profix")
l.Error(context.Background(), "test error")
}