proxy.golang.org : github.com/eluv-io/log-go : v1.0.8
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 -
Documentation -
Download -
JSON -
codemeta.json
purl: pkg:golang/github.com/eluv-io/log-go@v1.0.8
Published:
Indexed:
- github.com/davecgh/go-spew v1.1.1
- github.com/eluv-io/apexlog-go v1.9.1-elv4
- github.com/eluv-io/errors-go v1.0.2
- github.com/eluv-io/stack v1.8.2
- github.com/eluv-io/utc-go v1.0.0
- github.com/gopherjs/gopherjs v1.17.2
- github.com/jtolds/gls v4.20.0+incompatible
- github.com/modern-go/gls v0.0.0-20220109145502-612d0167dce5
- github.com/modern-go/reflect2 v1.0.2
- github.com/pkg/errors v0.9.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/smarty/assertions v1.15.0
- github.com/smartystreets/goconvey v1.8.1
- github.com/stretchr/testify v1.8.4
- gopkg.in/natefinch/lumberjack.v2 v2.2.1
- gopkg.in/yaml.v3 v3.0.1