package
0.5.2
Repository: https://github.com/xmlking/toolkit.git
Documentation: pkg.go.dev

# README

RpcLogger

A set of interceptors for Client and Server for debug logging request/response/errors.

Usage

	grpcServer := grpc.NewServer(
		grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer(
			rpclog.UnaryServerInterceptor(rpclog.WithExcludeMethods("/grpc.health.v1.Health/Check", "/api.MyService/*")),
		)),
	)

# Functions

UnaryClientInterceptor is an example client-side request logger middleware.
UnaryServerInterceptor is an example server-side request logger middleware.
No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author