logmower-shipper/vendor/go.elastic.co/ecszap/README.md
rasmus e45bf4739b go mod vendor
+ move k8s.io/apimachinery fork from go.work to go.mod
(and include it in vendor)
2022-11-07 00:26:05 +02:00

23 lines
676 B
Markdown

# Elastic Common Schema (ECS) support for uber-go/zap logger
Use this library for automatically adding a minimal set of ECS fields to your logs, when using [uber-go/zap](https://github.com/uber-go/zap).
## Documentation
Ready to get started? Documentation is at [elastic.co](https://www.elastic.co/guide/en/ecs-logging/go-zap/current/index.html).
## Test
```
go test ./...
```
## Contribute
Create a Pull Request from your own fork.
Run `mage` to update and format you changes before submitting.
Add new dependencies to the NOTICE.txt.
## License
This software is licensed under the [Apache 2 license](https://github.com/elastic/ecs-logging-go-zap/blob/main/LICENSE).