For writing simple formatted strings in #RustLang, I have these two macros in stdlib available: println!() to stdout or writeln!() to anything that implements the std::io::Write trait. The log crate only contains the equivalent macros to println!(), is there any option to have similar macros that behave like writeln!(), but for the log::Log trait? I know the macros in the log crate are quite involved, and I'd prefer to not ship my own set that simulates their behavior.
⇧
matze :unarist:
•silwol
•matze :unarist:
•Code shared from the Rust Playground
Gistsilwol
•matze :unarist:
•silwol
•silwol
•chrysn
•silwol
•