logfmt

command module
v0.0.0-...-2a4c73d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 12 Imported by: 0

README

JSONL → logfmt

This command-line tool reads JSON lines from stdin and prints something like logfmt to stdout. Keys are highlighted if stdout is a terminal. Non-JSON lines are printed to stderr. Pass -x <glob> to ignore keys.

$ echo '{"at":"hello"}' | go run github.com/jbarnette/logfmt
at=hello

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL