Documentation
¶
Overview ¶
Package logging provides structured request/response logging for Connect RPC handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInterceptor ¶
func NewInterceptor() connect.ServerInterceptor
NewInterceptor creates a Connect RPC server interceptor that logs requests and responses. Successful requests are logged at Info level, errors at Warn level. Request-scoped fields such as request_id and user_id are added by slogutil.ContextHandler, not by this interceptor.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.