Documentation ¶
Overview ¶
nolint: gochecknoinits, gochecknoglobals
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
NewContext creates a new logger with fields.
func NewContextLog ¶
NewContextLog creates a new logger context from another logger instance.
func WithContext ¶
func WithContext(ctx context.Context) *zap.SugaredLogger
WithContext gets the existing logger from context. If not present returns the default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.