eez-open / studio

Cross-platform low-code GUI and automation
https://www.envox.eu/studio/studio-introduction/
GNU General Public License v3.0
609 stars 101 forks source link

Enhance debug console output: time-based empty line between log messages #602

Open zalexzperez opened 1 month ago

zalexzperez commented 1 month ago

A new empty line added automatically between messages when the last message was printed "long ago" helps reading the console output.

Take for example this console output which got convoluted very quickly: image

In that output, the 3 more recent messages were received almost at the same time. By separating them with respect to the older block of messages, one has more information of what happened at a glance.

Ideally, there should be a time field to configure it (e.g., 'Empty Line Interval'). This way, the minimum time between messages can be varied according to the user's preference.