Closed Alx-Lai closed 1 month ago
Probably easiest to just change eprintln to println? Do you want to make up a PR?
Hi @djmitche, just noticed #531, probably we can revert this change after #531 is fixed.
Thanks for spotting that! I think the change is fine with or without that fix.
In Section13.4, there's an exercise code section to write a
VerbosityFilter
of aLogger
; however, the logger useseprintln!
macro to output the log, which output tostderr
. Therefore, the run result in the website shows onlyNo output
.Should we consider logging out messages from both
stdout
andstderr
?Comparison In Rust Playground:
In Comprehensive Rust: