提交 c687f6fa 编写于 作者: A Alex Crichton

Put a newline after each logging message

上级 9883a625
......@@ -181,7 +181,7 @@ pub trait Logger {
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);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册