radicle-log: enhanced log highlighting
Refactor out radicle::Logger and radicle::logger::Logger to radicle-log crate.
Enhance the test logger to highlight:
- Any
base58strings with a deterministic colour - Any git refs to be boldened and underlined
a. Any
base58strings inside refs to adhere to 1. - Any git OIDs (short and long) first 6 characters mapped to a hex colour with light and dark background adjustments
- ... any timestamps also coloured as per 3. 👀
- error level logs are all red and underlined (with rules 1 - 4 applied)
- warning level logs are all yellow and underlined (witith rules 1 - 4 applied)
I /think/ I managed to preserve the existing feature toggles, but worth double checking!
Some checks failed
— 0 passed, 1 failed
View logs ↗