TylerBrock / saw

Fast, multi-purpose tool for AWS CloudWatch Logs
MIT License
1.41k stars 79 forks source link

JSON not formatted and colors not displayed #44

Open QuentinDela opened 4 years ago

QuentinDela commented 4 years ago

Hello,

I am trying to do a console.log of

{
  "str": "foo",
  "num": 100,
  "bool": false,
  "null": null,
  "array": ["foo", "bar", "baz"],
  "obj": { "a": 1, "b": 2 }
}

to have the colorized and indented output as seen on https://github.com/TylerBrock/colorjson but it's not working.

This is my output

Screen Shot 2019-11-26 at 5 44 09 PM

I am using iTerm and oh-my-zsh.

Is there anything I should to to have the output logs colorized and indented properly ?