kis-flow/test/kis_log_test.go

21 lines
437 B
Go
Raw Normal View History

2024-01-03 10:16:54 +08:00
package test
import (
"context"
"testing"
2024-04-16 15:11:23 +08:00
"github.com/aceld/kis-flow/log"
2024-01-03 10:16:54 +08:00
)
func TestKisLogger(t *testing.T) {
ctx := context.Background()
2024-04-15 11:17:47 +08:00
log.Logger().InfoFX(ctx, "TestKisLogger InfoFX")
log.Logger().ErrorFX(ctx, "TestKisLogger ErrorFX")
log.Logger().DebugFX(ctx, "TestKisLogger DebugFX")
2024-04-15 11:17:47 +08:00
log.Logger().InfoF("TestKisLogger InfoF")
log.Logger().ErrorF("TestKisLogger ErrorF")
log.Logger().DebugF("TestKisLogger DebugF")
2024-01-03 10:16:54 +08:00
}