pub fn fmt_markdown<S>(out: Arc<Mutex<S>>) -> Box<Closure>Expand description
Builds a capture callback that appends Markdown log lines.
Each event locks the shared output and formats its level, current span, and message. The callback owns the supplied output handle and panics if the lock is poisoned or formatting fails.