Documentation ¶
Index ¶
- func Debugf(template string, args ...interface{})
- func Errorf(template string, args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Infof(template string, args ...interface{})
- func New(o Options) *zap.Logger
- func Panicf(template string, args ...interface{})
- func SetGlobalLogger(o *zap.Logger)
- func Warnf(template string, args ...interface{})
- func WithContext(ctx context.Context) *zap.SugaredLogger
- func WithFieldContext(ctx context.Context, fields ...any) context.Context
- type BuffSink
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetGlobalLogger ¶ added in v0.0.2
func WithContext ¶ added in v0.0.2
func WithContext(ctx context.Context) *zap.SugaredLogger
Types ¶
Click to show internal directories.
Click to hide internal directories.