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

Top 3.4% dependent packages on proxy.golang.org
Top 4.7% dependent repos on proxy.golang.org

proxy.golang.org : github.com/eluv-io/log-go

Package log provides a minimal wrapper around an arbitrary third-party logging library. The wrapper abstracts from a concrete logging implementation in order to allow painless and seamless switch-over to alternative implementations in the future. It provides the following functionality: - Levelled logging through the Debug, Info, Warn, Error and Fatal log methods. - Structured logging using named fields (i.e. key-value pairs) for simplified log parsing. Depending on the underlying log implementation, log entries can be written in json format, simplifying log parsing even further. - Super-simple function signatures. All log functions take a message string and an arbitrary number of additional arguments interpreted as fields (key-value pairs) for the structured logging. The log message should be static (i.e. it should not contain any dynamic content), so that log parsing remains simple. Any dynamic data should be added as additional fields. Example: Some background on structured logging: https://medium.com/@tjholowaychuk/apex-log-e8d9627f4a9a

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/eluv-io/log-go
License: MIT
Latest release: 4 months ago
First release: over 3 years ago
Namespace: github.com/eluv-io
Dependent packages: 4
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 18 days ago

    Loading...
    Readme
    Loading...