Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 401 Bytes

File metadata and controls

20 lines (12 loc) · 401 Bytes

pp

A very basic pretty printer, pipe your json log output into it and it will make them more readable:

echo '{"label": "my-log", "level":"debug", "message": "hi"}' | pp

Outputs:

[debug] my-log - hi

logging stderr

You'll need to send stderr into stdout:

your_log_command 2>&1 | pp