Documentation ¶
Index ¶
- Variables
- type LoggingInterceptor
- func (z *LoggingInterceptor) StreamClientInterceptor() grpc.StreamClientInterceptor
- func (z *LoggingInterceptor) StreamServerInterceptor() grpc.StreamServerInterceptor
- func (z *LoggingInterceptor) UnaryClientInterceptor() grpc.UnaryClientInterceptor
- func (z *LoggingInterceptor) UnaryServerInterceptor() grpc.UnaryServerInterceptor
- type Option
- type Skipper
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type LoggingInterceptor ¶
type LoggingInterceptor struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...Option) *LoggingInterceptor
New will initlize the gRPC zap logger. If options aren't provided it will use the global logger for zap (`zap.L()`) and it won't skip anything.
func (*LoggingInterceptor) StreamClientInterceptor ¶
func (z *LoggingInterceptor) StreamClientInterceptor() grpc.StreamClientInterceptor
func (*LoggingInterceptor) StreamServerInterceptor ¶
func (z *LoggingInterceptor) StreamServerInterceptor() grpc.StreamServerInterceptor
func (*LoggingInterceptor) UnaryClientInterceptor ¶
func (z *LoggingInterceptor) UnaryClientInterceptor() grpc.UnaryClientInterceptor
func (*LoggingInterceptor) UnaryServerInterceptor ¶
func (z *LoggingInterceptor) UnaryServerInterceptor() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.