feat: now can highlight relevant parts of logs
Needs !214 (merged)
To highlight all the logging messages containing the given key do this:
- rust:
tlog::highlight_key(log_key, Some(color))
. - lua:
picolib.log.highlight_key(log_key, color)
.
To disable highlight for the given key do this:
- rust:
tlog::highlight_key(log_key, None)
. - lua:
picolib.log.highlight_key(log_key)
.
To disable highlighting of all keys do this:
- rust:
tlog::clear_highlight()
. - lua:
picolib.log.clear_highlight()
.