https://github.com/transacid/lfpp
A logfmt pretty printer
https://github.com/transacid/lfpp
json logfmt pretty-print
Last synced: about 2 months ago
JSON representation
A logfmt pretty printer
- Host: GitHub
- URL: https://github.com/transacid/lfpp
- Owner: transacid
- Created: 2024-12-06T12:44:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-08T09:09:28.000Z (8 months ago)
- Last Synced: 2025-10-08T11:24:25.857Z (8 months ago)
- Topics: json, logfmt, pretty-print
- Language: Go
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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"}
```
