Hacker News new | ask | show | jobs
by andrepd 664 days ago
Sounds like something that would be doable in rust. I'm not sure how you would go about building the compile-time table of log locations and format strings, sounds like the hardest part.
1 comments

> I'm not sure how you would go about building the compile-time table of log locations and format strings, sounds like the hardest part.

Sounds like a job for a macro.

Yep. And macros for logging are already the norm in Rust.