Put a newline after each logging message
This commit is contained in:
parent
9883a6250b
commit
c687f6fa92
@ -181,7 +181,7 @@ pub struct StdErrLogger;
|
||||
impl Logger for StdErrLogger {
|
||||
fn log(&mut self, args: &fmt::Arguments) {
|
||||
if should_log_console() {
|
||||
fmt::write(self as &mut rt::io::Writer, args);
|
||||
fmt::writeln(self as &mut rt::io::Writer, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user