kis-flow/test/kis_log_test.go

20 lines
424 B
Go
Raw Normal View History

2024-01-03 10:16:54 +08:00
package test
import (
"context"
2024-03-26 14:54:50 +08:00
"github.com/aceld/kis-flow/log"
2024-01-03 10:16:54 +08:00
"testing"
)
func TestKisLogger(t *testing.T) {
ctx := context.Background()
2024-04-07 22:39:21 +08:00
log.Logger().InfoX(ctx, "TestKisLogger InfoX")
log.Logger().ErrorX(ctx, "TestKisLogger ErrorX")
log.Logger().DebugX(ctx, "TestKisLogger DebugX")
2024-01-03 10:16:54 +08:00
2024-04-07 22:39:21 +08:00
log.Logger().Info("TestKisLogger Info")
log.Logger().Error("TestKisLogger Error")
log.Logger().Debug("TestKisLogger Debug")
2024-01-03 10:16:54 +08:00
}