Skip to content

Commit c687f6f

Browse files
committed
Put a newline after each logging message
1 parent 9883a62 commit c687f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/logging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ pub struct StdErrLogger;
181181
impl Logger for StdErrLogger {
182182
fn log(&mut self, args: &fmt::Arguments) {
183183
if should_log_console() {
184-
fmt::write(self as &mut rt::io::Writer, args);
184+
fmt::writeln(self as &mut rt::io::Writer, args);
185185
}
186186
}
187187
}

0 commit comments

Comments
 (0)