grpclog

package
v2.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 7 Imported by: 256

Documentation

Overview

Package grpclog in intended for internal use by generated clients only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProtoMessageRequest

func ProtoMessageRequest(ctx context.Context, msg proto.Message) slog.LogValuer

ProtoMessageRequest returns a lazily evaluated slog.LogValuer for the provided message. The context is used to extract outgoing headers.

func ProtoMessageResponse

func ProtoMessageResponse(msg proto.Message) slog.LogValuer

ProtoMessageResponse returns a lazily evaluated slog.LogValuer for the provided message.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL