package grpclog
import "github.com/googleapis/gax-go/v2/internallog/grpclog"
Package grpclog in intended for internal use by generated clients only.
Index ¶
- func ProtoMessageRequest(ctx context.Context, msg proto.Message) slog.LogValuer
- func ProtoMessageResponse(msg proto.Message) slog.LogValuer
Functions ¶
func ProtoMessageRequest ¶
ProtoMessageRequest returns a lazily evaluated slog.LogValuer for the provided message. The context is used to extract outgoing headers.
func ProtoMessageResponse ¶
ProtoMessageResponse returns a lazily evaluated slog.LogValuer for the provided message.
Source Files ¶
- Version
- v2.14.1 (latest)
- Published
- Dec 20, 2024
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 8 hours ago –
Tools for package owners.