Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogger ¶
func GetLogger(ctx context.Context) logrus.FieldLogger
GetLogger returns a logger from context. If any logger isn't found, GetLogger returns standard instance of logrus.
func WithLogger ¶
WithLogger puts logger into a context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.