Documentation ¶
Index ¶
- func Console()
- func CopyContext(ctx context.Context, dst context.Context) context.Context
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Logger(ctx context.Context) *zap.Logger
- func Panic(v ...interface{})
- func Panicf(msg string, v ...interface{})
- func Print(v ...interface{})
- func Printf(format string, v ...interface{})
- func Println(v ...interface{})
- func Structured()
- func With(ctx context.Context, key string, value interface{}) context.Context
- func WithFields(ctx context.Context, fields ...zapcore.Field) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyContext ¶
CopyContext returns a context derived from dst that contains the eventual logging keys that are contained in ctx
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.