clap-rs / clap-log-flag

Add a logger to CLIs using structopt
Apache License 2.0
10 stars 1 forks source link

Log ndjson by default #1

Open yoshuawuyts opened 6 years ago

yoshuawuyts commented 6 years ago

Once https://github.com/pinojs/pino/issues/471 is resolve we should consider creating an env_logger extension that outputs Bunyan / Pino style JSON to stdout. The log format for that has proven to be compatible with a good set of logging systems, and given it's relatively easy to parse it's probably a decent default for most systems.