Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggingInterceptor ¶
func NewLoggingInterceptor(logger *slog.Logger, opts ...Option) connect.UnaryInterceptorFunc
NewLoggingInterceptor returns unary interceptor that logs response errors. It injects context logger with method and trace context.
Types ¶
Click to show internal directories.
Click to hide internal directories.