Documentation
¶
Index ¶
- func Configure(levelSet string)
- func Get(ctx context.Context) *zap.Logger
- func LoggerStream() grpc.StreamServerInterceptor
- func LoggerUnary() grpc.UnaryServerInterceptor
- func RecoverStream() grpc.StreamServerInterceptor
- func RecoverUnary() grpc.UnaryServerInterceptor
- func Set(ctx context.Context, l *zap.Logger) context.Context
- func SetLogger(s *LoggerConfig) func() error
- type LoggerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggerStream ¶
func LoggerStream() grpc.StreamServerInterceptor
func LoggerUnary ¶
func LoggerUnary() grpc.UnaryServerInterceptor
func RecoverStream ¶
func RecoverStream() grpc.StreamServerInterceptor
func RecoverUnary ¶
func RecoverUnary() grpc.UnaryServerInterceptor
func SetLogger ¶
func SetLogger(s *LoggerConfig) func() error
Types ¶
Click to show internal directories.
Click to hide internal directories.