Logging with some math output

I intend to use a logger to provide a log with a large number of messages on convergence statistics, what the code did, and stuff that might help with debugging. My current plan is to use a combination of LoggingExtras and StyledStrings with html output for this purpose.

It would be nice to put some occasional math in there (on the fly). I can use MathMLRepr and it looks like that will work out fine, but the package has not seen much activity lately. What other lightweight solutions are there to achieve the same purpose? (I’m aware of notebooks, documenter, weave, etc)