logger

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientLoggerInterceptor

func ClientLoggerInterceptor() connect.UnaryInterceptorFunc

ClientLoggerInterceptor is a gRPC interceptor that logs the request and response of a gRPC call. It will log all important information, including the error if any. The level of the log is based on the error if any. For all non-error logs, it will use the debug level. For all error logs, it will use the error level.

Types

This section is empty.

Jump to

Keyboard shortcuts

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