Currently serial, debugcon and framebuffer are supported.
Framebuffer will wrap around vertically, but not horizontally.
It supports outputting logs to multiple backends at the same time, and will default to serial if none are specified.
It also features a trim level, where any logs of a level below that are ignored. The default is all logs are visible.
Let me know what you think!
Also, apparently log() is a builtin function, so we cant call it that. I've used logln() for now, but we can probably do better. Did you have any thoughts? I was thinking perhaps logline() might be more readable.
Currently serial, debugcon and framebuffer are supported. Framebuffer will wrap around vertically, but not horizontally.
It supports outputting logs to multiple backends at the same time, and will default to serial if none are specified. It also features a trim level, where any logs of a level below that are ignored. The default is all logs are visible.
Let me know what you think!
Also, apparently
log()
is a builtin function, so we cant call it that. I've usedlogln()
for now, but we can probably do better. Did you have any thoughts? I was thinking perhapslogline()
might be more readable.