zap

package
v1.295.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodeToLogFunc added in v1.172.9

func CodeToLogFunc(code codes.Code, logger *zap.Logger) tz.LogFunc

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.

Jump to

Keyboard shortcuts

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