prometheus/vendor/github.com/go-logfmt/logfmt
Simon Pasquier c706b416bd vendor: run 'go mod vendor' from scratch
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-10-29 17:25:43 +01:00
..
.gitignore vendor: run 'go mod vendor' from scratch 2018-10-29 17:25:43 +01:00
.travis.yml vendor: run 'go mod vendor' from scratch 2018-10-29 17:25:43 +01:00
LICENSE vendor: add fabx/tsdb 2017-02-07 03:42:02 -08:00
README.md vendor: add fabx/tsdb 2017-02-07 03:42:02 -08:00
decode.go vendor: add fabx/tsdb 2017-02-07 03:42:02 -08:00
doc.go vendor: add fabx/tsdb 2017-02-07 03:42:02 -08:00
encode.go vendor: add fabx/tsdb 2017-02-07 03:42:02 -08:00
fuzz.go vendor: add fabx/tsdb 2017-02-07 03:42:02 -08:00
jsonstring.go vendor: add fabx/tsdb 2017-02-07 03:42:02 -08:00

README.md

GoDoc Go Report Card TravisCI Coverage Status

logfmt

Package logfmt implements utilities to marshal and unmarshal data in the logfmt format. It provides an API similar to encoding/json and encoding/xml.

The logfmt format was first documented by Brandur Leach in this article. The format has not been formally standardized. The most authoritative public specification to date has been the documentation of a Go Language package written by Blake Mizerany and Keith Rarick.

Goals

This project attempts to conform as closely as possible to the prior art, while also removing ambiguity where necessary to provide well behaved encoder and decoder implementations.

Non-goals

This project does not attempt to formally standardize the logfmt format. In the event that logfmt is standardized this project would take conforming to the standard as a goal.

Versioning

Package logfmt publishes releases via semver compatible Git tags prefixed with a single 'v'.