Pretty JSON Log plugin for IntelliJ Platform makes NDJSON (Newline Delimited JSON a.k.a. JSON Lines) logs more readablein the console. It has the following features:
- JSON Parsing: Automatically parses each log line as JSON and extracts essential log information such as timestamp, log level, and message.
- Colorful Display: Displays essential log information in different colors depending on the log level to make it easier to read.
- Readable Timestamp: Formats the timestamp in a human-friendly format.
- Expandable Pretty JSON: Prints a well-formatted JSON string following the log message. The JSON string is folded by default, but you can expand it when you need to view the full details.
- Seamless Integration: Supports various log formats such as Logstash, Bunyan, Pino, log/slog, Cloud Logging, etc. with no additional configuration or software.
This plugin is useful when you are developing a modern system that outputs logs in JSON format. You no longer need toswitch log formats between production and local development environments.