Documentation ¶
Index ¶
- func GrpcUnaryServerInterceptor(l *Log) grpc.UnaryServerInterceptor
- func NewContext(ctx context.Context, fields ...zapcore.Field) context.Context
- func Start()
- func WithCtx(ctx context.Context) *zap.Logger
- func WithFields(ctx context.Context, fields map[string]string) context.Context
- type Log
- func (l *Log) Debug(ctx context.Context, args ...interface{})
- func (l *Log) Error(ctx context.Context, args ...interface{})
- func (l *Log) Fatal(ctx context.Context, args ...interface{})
- func (l *Log) Info(ctx context.Context, args ...interface{})
- func (l *Log) Warn(ctx context.Context, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcUnaryServerInterceptor ¶
func GrpcUnaryServerInterceptor(l *Log) grpc.UnaryServerInterceptor
Types ¶
Click to show internal directories.
Click to hide internal directories.