Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
NewLogger function to create new log.Logger, needed for mocking in tests
Functions ¶
func Fields ¶ added in v0.8.0
Fields returns a copy of the context log fields. It can be nil
func Get ¶
Get returns a logger configured with the context log Fields or the default fields
Types ¶
This section is empty.
Source Files
¶
- context.go
Click to show internal directories.
Click to hide internal directories.