mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-21 21:27:16 +02:00
13 lines
259 B
Go
13 lines
259 B
Go
package log
|
|
|
|
import "testing"
|
|
|
|
func TestFmtLogger(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")
|
|
}
|