Documentation ¶
Index ¶
- Variables
- func Debug(context context.Context, msg string, event ...Event)
- func Error(context context.Context, msg string, err error, event ...Event)
- func Fatal(context context.Context, msg string, err error, event ...Event)
- func Info(context context.Context, msg string, event ...Event)
- func NewLogContext(ctx context.Context, fields map[string]interface{}) context.Context
- func Sync()
- func Warn(context context.Context, msg string, event ...Event)
- func WithContext(ctx context.Context) *zap.Logger
- func WithExtra(ctx context.Context, fields map[string]interface{}) context.Context
- type Event
Constants ¶
This section is empty.
Variables ¶
View Source
var ZapLogger *zap.Logger
Functions ¶
func NewLogContext ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.