# Logging with some math output

**URL:** https://discourse.julialang.org/t/logging-with-some-math-output/130062
**Category:** General Usage
**Tags:** logging
**Created:** [June 20, 2025, 2:18pm UTC](https://discourse.julialang.org/t/logging-with-some-math-output/130062 "2025-06-20T14:18:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Joris\_Pinkse](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joris_pinkse/32/216398_2.png) [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)
#### Post date: [June 20, 2025, 2:18pm UTC](https://discourse.julialang.org/t/logging-with-some-math-output/130062/1 "2025-06-20T14:18:03Z")

</div>

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)
