An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/apex/log

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.

Ecosystem
proxy.golang.org
Latest Release
v1.9.0
over 5 years ago
Versions
15
Dependent Packages
1,524
Dependent Repos
4,897
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/apex/log
spec
License MIT
Namespace github.com/apex
First Release over 8 years ago
Last Synced 5 minutes ago
Repository
Stars 1,371 on GitHub
Forks 114 on GitHub
Docker Dependents 4,303
Docker Downloads 683,882,309
Commits 136
Committers 16
Avg per Author 8.5
DDS 0.154
Rankings on proxy.golang.org
Overall Top 1.0%
Dependent packages Top 0.1%
Dependent repos Top 0.1%
Forks Top 2.6%
Docker downloads Top 0.1%