Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct { // Key is the key used for the field Key string // Value is the value used for the field and can be anything Value any }
Field is an additional custom field that can be used for structural logging output
func Coordinate ¶
func Coordinate(coordinate coordinate.Coordinate) Field
Coordinate builds a Field containing information taken from the provided coordinate
func Environment ¶
Environment builds a Field containing environment information for structured logging
Click to show internal directories.
Click to hide internal directories.