Y
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
wtetzner
664 days ago
> 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.
link
steveklabnik
664 days ago
Yep. And macros for logging are already the norm in Rust.
link
Sounds like a job for a macro.