# Functions
DefaultCodeToLevel the default grpc status code to log level.
DefaultLoggingDeciderMethod is the default implementation of decider to see if you should log the call by default this if always true so all calls are logged.
No description provided by the author
InterceptorLogger adapts zap logger to interceptor logger.
StreamClientInterceptor returns a new streaming client interceptor that optionally logs the execution of external gRPC calls.
StreamServerInterceptor returns a new stream server interceptors that optionally logs endpoint handling.
UnaryClientInterceptor returns a new unary client interceptor that optionally logs the execution of external gRPC calls.
UnaryServerInterceptor returns a new unary server interceptors that optionally logs endpoint handling.
WithDecider customizes the function for deciding if the gRPC interceptor logs should log.
WithLevels customizes the function for mapping gRPC return codes and interceptor log level statements.
WithRequestFieldExtractorFunc customizes the function for extracting log fields from protobuf messages, for unary and server-streamed methods only.
WithResponseFieldExtractorFunc customizes the function for extracting log fields from protobuf messages, for unary and server-streamed methods only.
# Structs
PayloadDecision defines rules for enabling Request or Response logging.
# Type aliases
Decider function defines rules for suppressing any interceptor logs.
Option the Options for this module.
RequestFieldExtractorFunc is a user-provided function that extracts field information from a gRPC request.
ResponseFieldExtractorFunc is a user-provided function that extracts field information from a gRPC response.