提交
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package loggerx_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"code.yun.ink/pkg/loggerx"
|
||||
)
|
||||
|
||||
// func TestMain(m *testing.M) {
|
||||
// }
|
||||
|
||||
func TestLogger(t *testing.T) {
|
||||
|
||||
l := loggerx.InitLogger("profix")
|
||||
|
||||
l.Error(context.Background(), "test error")
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user