tslog icon indicating copy to clipboard operation
tslog copied to clipboard

Can "pretty" mode still display the json message on 1 line

Open johhnsmmith198 opened this issue 2 years ago • 0 comments

I have an issue while running tslog within aws SAM. I am getting this kind of squashed output:

Screenshot from 2023-03-11 20-34-34

While running it outside of SAM I am getting a very wide display

Screenshot from 2023-03-11 20-35-02

Is it possible to configure the pretty formatting to format the json on 1 line while keeping the coloring? NOTE: I am passing JSON object to logger.info (example logger.info({message: "test"}))

johhnsmmith198 avatar Mar 11 '23 09:03 johhnsmmith198