Skip to content
Snippets Groups Projects
Commit 69f89b4c authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

feat: now can highlight relevant parts of logs

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()`.
parent d62238f0
No related branches found
No related tags found
1 merge request!220feat: now can highlight relevant parts of logs
Pipeline #10892 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment