Documentation ¶
Index ¶
- type Field
- func Coordinate(coordinate coordinate.Coordinate) Field
- func Environment(environment, group string) Field
- func Error(err error) Field
- func F(key string, value interface{}) Field
- func StatusDeployed() Field
- func StatusDeploying() Field
- func StatusDeploymentFailed() Field
- func StatusDeploymentSkipped() Field
- func Type(t string) Field
- type LogCoordinate
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
func StatusDeployed ¶ added in v2.8.2
func StatusDeployed() Field
func StatusDeploying ¶ added in v2.8.2
func StatusDeploying() Field
func StatusDeploymentFailed ¶ added in v2.8.2
func StatusDeploymentFailed() Field
func StatusDeploymentSkipped ¶ added in v2.8.2
func StatusDeploymentSkipped() Field
Click to show internal directories.
Click to hide internal directories.