Documentation ¶
Index ¶
- func BetterDefaults()
- func Extract(ctx context.Context) *_context
- func Gin(logger *zap.Logger, hooks ...HookFunc) gin.HandlerFunc
- func L(ctx context.Context) *zap.Logger
- func N(ctx context.Context) *zap.Logger
- func OpenTraceFields(ctx context.Context) context.Context
- func S(ctx context.Context) *zap.SugaredLogger
- func ToContext(ctx context.Context, logger *zap.Logger) context.Context
- func UnaryServerInterceptor(logger *zap.Logger, hooks ...HookFunc) grpc.UnaryServerInterceptor
- type Context
- type HookFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BetterDefaults ¶
func BetterDefaults()
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(logger *zap.Logger, hooks ...HookFunc) grpc.UnaryServerInterceptor
Types ¶
Click to show internal directories.
Click to hide internal directories.