Much needed: well-highlighted JSON log viewer

前端 未结 7 940
感动是毒
感动是毒 2021-01-30 22:46

Using winston for node.js logging, I get json log files. A log file in this vein is simply a sequence of (newline delimited) json objects. This is great for log querying and tre

7条回答
  •  佛祖请我去吃肉
    2021-01-30 23:07

    I modified original twilight theme to add rules for prettier json. It's a modified version of @MattDMo 's answer, and has the similar different key colors for different levels. You can get it from here

    https://github.com/shaunakv1/twilight-tmTheme-better-json-highlight

    Here's how JSON looks:

    enter image description here

提交回复
热议问题