()
| 45 | """Return a callable that renders recent captured logs.""" |
| 46 | |
| 47 | def _provider() -> str: |
| 48 | if recorder is None: |
| 49 | return "<debug recorder unavailable>" |
| 50 | return recorder.render_text(limit=limit) |
| 51 | |
| 52 | return _provider |
| 53 |
nothing calls this directly
no test coverage detected