1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-03 13:11:42 +02:00
kratos/log/log_test.go
2021-02-17 17:14:47 +08:00

14 lines
260 B
Go

package log
import (
"testing"
)
func TestLogger(t *testing.T) {
logger := NewStdLogger()
Debug(logger).Print("log", "test debug")
Info(logger).Print("log", "test info")
Warn(logger).Print("log", "test warn")
Error(logger).Print("log", "test error")
}