1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-24 03:46:37 +02:00
kratos/log/value_test.go
Tony Chen 21557b38f6
log: add log context (#766)
* add log context & valuer
2021-03-14 15:36:00 +08:00

9 lines
155 B
Go

package log
import "testing"
func TestValue(t *testing.T) {
logger := With(DefaultLogger, "caller", Caller(4))
logger.Print("message", "helloworld")
}