mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-24 03:46:37 +02:00
21557b38f6
* add log context & valuer
9 lines
155 B
Go
9 lines
155 B
Go
package log
|
|
|
|
import "testing"
|
|
|
|
func TestValue(t *testing.T) {
|
|
logger := With(DefaultLogger, "caller", Caller(4))
|
|
logger.Print("message", "helloworld")
|
|
}
|