mirror of
https://github.com/aceld/kis-flow.git
synced 2025-01-22 23:20:24 +08:00
21 lines
437 B
Go
21 lines
437 B
Go
package test
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/aceld/kis-flow/log"
|
|
)
|
|
|
|
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")
|
|
}
|