Toot

Written by knutaf on 2025-01-19 at 04:51

i'm trying to add #tracing (like the crate called tracing) to my current #rust project. i'm using tracing-forest to get nested output for my spans, and i want to get that into all my 200+ tests, but i don't want to add a new line to every test. a single global initializer before all tests run would be great, or else a per-test initializer would be fine. i've found some partial solutions, but nothing that lets me use tracing-forest in a layer. any ideas what I could do?

=> More informations about this toot | View the thread | More toots from knutaf@mastodon.gamedev.place

Mentions

Tags

=> View tracing tag | View rust tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113853220100454136
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
223.288862 milliseconds
Gemini-to-HTML Time
0.631069 milliseconds

This content has been proxied by September (3851b).