diff --git a/zap_development_handler_test.go b/zap_development_handler_test.go index 35a5299..46810b2 100644 --- a/zap_development_handler_test.go +++ b/zap_development_handler_test.go @@ -229,7 +229,7 @@ func Test_tryZapDevPrefix(t *testing.T) { func findFieldValue(ev *typesv1.StructuredLogEvent, field string) string { for _, kv := range ev.Kvs { if kv.Key == field { - return kv.Value.String() + return kv.Value.GetStr() } } return ""