voorkant / voorkant-core

https://voorkant.org/
MIT License
2 stars 3 forks source link

logbox can be expensive #93

Open Habbie opened 1 month ago

Habbie commented 1 month ago

sometimes we dump big blobs of JSON to the log. For the logger, those count as one line, and then the logbox gets "5 lines" which is actually a 1000 lines. It looks like wrapping/laying out/rendering this is very expensive for LVGL.

Observations:

The logbox should probably be hidden by default, perhaps with an icon that can tell you "something important just appeared in here". Further, maybe we should have a configurable loglevel for terminal output -and- one for the logbox.