proxy.golang.org : github.com/eluv-io/go-apexlog
Package log implements a simple structured logging API designed with few assumptions. Designed for centralized logging solutions such as Kinesis which require encoding and decoding before fanning-out to handlers. You may use this package with inline handlers, much like Logrus, however a centralized solution is recommended so that apps do not need to be re-deployed to add or remove logging service providers. Errors are passed to WithError(), populating the "error" field. Multiple fields can be set, via chaining, or WithFields(). Structured logging is supported with fields, and is recommended over the formatted message variants. Trace can be used to simplify logging of start and completion events, for example an upload which may fail. Unstructured logging is supported, but not recommended since it is hard to query.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/eluv-io/go-apexlog
License: MIT
Latest release: over 4 years ago
First release: almost 8 years ago
Namespace: github.com/eluv-io
Last synced: 6 days ago