fullstack-build / tslog

📝 tslog - Universal Logger for TypeScript and JavaScript
https://tslog.js.org
MIT License
1.35k stars 63 forks source link

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

Open johhnsmmith198 opened 1 year ago

johhnsmmith198 commented 1 year ago

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"}))