Put a newline after each logging message

This commit is contained in:
Alex Crichton 2013-09-29 12:39:49 -07:00
parent 9883a6250b
commit c687f6fa92
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}