Skip to content

Richard87/prettyprintlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prettyprint Log

Format json logs from Zerolog nicely

Install with go install github.com/richard87/prettyprintlog@latest

Example:

prettyprintlog --help
# Usage of prettyprintlog:
#   -l, --level string       Level field name (default "level")
#   -m, --message string     Message field name (default "message")
#   -t, --timestamp string   Timestamp field name (default "time")

kubectl logs somepodwithjsonlogging -f | prettyprintlog

About

Pretty Print json log from Zerolog from stdin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages