logging

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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