amseltools/vendor/github.com/go-logfmt/logfmt
2023-03-29 13:26:21 +00:00
..
.gitignore first commit 2023-03-29 13:26:21 +00:00
CHANGELOG.md first commit 2023-03-29 13:26:21 +00:00
decode.go first commit 2023-03-29 13:26:21 +00:00
doc.go first commit 2023-03-29 13:26:21 +00:00
encode.go first commit 2023-03-29 13:26:21 +00:00
jsonstring.go first commit 2023-03-29 13:26:21 +00:00
LICENSE first commit 2023-03-29 13:26:21 +00:00
README.md first commit 2023-03-29 13:26:21 +00:00

logfmt

Go Reference Go Report Card Github Actions Coverage Status

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

This project publishes releases according to the Go language guidelines for developing and publishing modules.