Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromCtx ¶
FromCtx returns logger from context. If logger is not found, it returns default logger.
func InjectCtx ¶
InjectLogger injects logger to context. It's used to inject mock logger for testing.
func SetDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.