forked from M-Labs/artiq
firmware: use writeln instead of write in UART logger.
This commit is contained in:
parent
560889372f
commit
2e09307d8d
|
@ -25,7 +25,7 @@ impl Log for ConsoleLogger {
|
|||
let seconds = timestamp / 1_000_000;
|
||||
let micros = timestamp % 1_000_000;
|
||||
|
||||
let _ = write!(Console, "[{:6}.{:06}s] {:>5}({}): {}",
|
||||
let _ = writeln!(Console, "[{:6}.{:06}s] {:>5}({}): {}",
|
||||
seconds, micros, record.level(), record.target(), record.args());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue