1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-24 03:46:37 +02:00
kratos/log/std_test.go

13 lines
258 B
Go
Raw Normal View History

2021-02-17 17:14:47 +08:00
package log
import "testing"
func TestStdLogger(t *testing.T) {
logger := DefaultLogger
2021-02-17 17:14:47 +08:00
Debug(logger).Print("log", "test debug")
Info(logger).Print("log", "test info")
Warn(logger).Print("log", "test warn")
Error(logger).Print("log", "test error")
}