Skip to content

transacid/lfpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogFmtPrettyPrint

lfpp is a logfmt pretty printer. It reads logfmt from stdin and outputs either colorized (-c) or json (-j).

Install

go install github.com/transacid/lfpp@latest

Usage

$ echo 'foo=bar greeting="Hello, World" baz=qux' | lfpp -j

{"baz":"qux","foo":"bar","greeting":"Hello, World"}

Screenshot of lfpp in action