kis-flow/test/kis_log_test.go

20 lines
436 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()
log.Logger().InfoFX(ctx, "TestKisLogger InfoFX")
log.Logger().ErrorFX(ctx, "TestKisLogger ErrorFX")
log.Logger().DebugFX(ctx, "TestKisLogger DebugFX")
log.Logger().InfoF("TestKisLogger InfoF")
log.Logger().ErrorF("TestKisLogger ErrorF")
log.Logger().DebugF("TestKisLogger DebugF")
}