Documentation ¶
Index ¶
- func CodeToLogFunc(code codes.Code, logger *zap.Logger) tz.LogFunc
- func StreamClientInterceptor(logger *zap.Logger) grpc.StreamClientInterceptor
- func StreamServerInterceptor(logger *zap.Logger) grpc.StreamServerInterceptor
- func UnaryClientInterceptor(logger *zap.Logger) grpc.UnaryClientInterceptor
- func UnaryServerInterceptor(logger *zap.Logger) grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeToLogFunc ¶ added in v1.172.9
CodeToLogFunc for zap.
func StreamClientInterceptor ¶
func StreamClientInterceptor(logger *zap.Logger) grpc.StreamClientInterceptor
StreamClientInterceptor for zap.
func StreamServerInterceptor ¶
func StreamServerInterceptor(logger *zap.Logger) grpc.StreamServerInterceptor
StreamServerInterceptor for zap.
func UnaryClientInterceptor ¶
func UnaryClientInterceptor(logger *zap.Logger) grpc.UnaryClientInterceptor
UnaryClientInterceptor for zap.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(logger *zap.Logger) grpc.UnaryServerInterceptor
UnaryServerInterceptor for zap.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.