Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/vendor/github.com/go-logfmt/logfmt
Adam Shannon eb390523e3 all: update dependencies (#211) 6 years ago
..
.gitignore Add vendor stuff. 7 years ago
.travis.yml all: update dependencies (#211) 6 years ago
CHANGELOG.md all: update dependencies (#211) 6 years ago
LICENSE Add vendor stuff. 7 years ago
README.md Add vendor stuff. 7 years ago
decode.go Add vendor stuff. 7 years ago
doc.go Add vendor stuff. 7 years ago
encode.go all: update dependencies (#211) 6 years ago
fuzz.go Add vendor stuff. 7 years ago
go.mod all: update dependencies (#211) 6 years ago
go.sum all: update dependencies (#211) 6 years ago
jsonstring.go Add vendor stuff. 7 years ago

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'.