From c21c19bd6ca173d877a4157390856222e026e127 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Tue, 14 Aug 2018 18:10:51 +0100 Subject: [PATCH] Fix no line breaks in logs (#9355) --- logger/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger/src/lib.rs b/logger/src/lib.rs index 152d691f9..dee2bb0b0 100644 --- a/logger/src/lib.rs +++ b/logger/src/lib.rs @@ -127,7 +127,7 @@ pub fn setup_log(config: &Config) -> Result, String> { println!("{}", ret); } - write!(buf, "{}", ret) + writeln!(buf, "{}", ret) }; builder.format(format);