30 lines
1.2 KiB
Markdown
30 lines
1.2 KiB
Markdown
|
||

|
||
|
||
Package log implements a simple structured logging API inspired by Logrus, designed with centralization in mind. Read more on [Medium](https://medium.com/@tjholowaychuk/apex-log-e8d9627f4a9a#.rav8yhkud).
|
||
|
||
## Handlers
|
||
|
||
- __cli__ – human-friendly CLI output
|
||
- __discard__ – discards all logs
|
||
- __es__ – Elasticsearch handler
|
||
- __graylog__ – Graylog handler
|
||
- __json__ – JSON output handler
|
||
- __kinesis__ – AWS Kinesis handler
|
||
- __level__ – level filter handler
|
||
- __logfmt__ – logfmt plain-text formatter
|
||
- __memory__ – in-memory handler for tests
|
||
- __multi__ – fan-out to multiple handlers
|
||
- __papertrail__ – Papertrail handler
|
||
- __text__ – human-friendly colored output
|
||
- __delta__ – outputs the delta between log calls and spinner
|
||
|
||
---
|
||
|
||
[](https://semaphoreci.com/tj/log)
|
||
[](https://godoc.org/github.com/apex/log)
|
||

|
||

|
||
|
||
<a href="https://apex.sh"><img src="http://tjholowaychuk.com:6000/svg/sponsor"></a>
|