Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 391 Bytes

File metadata and controls

16 lines (12 loc) · 391 Bytes

logfmt2json

GoDoc

reads logfmt log messages from stdin and prints json to stdout

Installation

  go get -u github.com/ntindall/logfmt2json

Usage

echo "foo=bar baz=bak" | logfmt2json
{"baz":"bak","foo":"bar"}