mirror of https://github.com/m-labs/artiq.git
firmware: use writeln instead of write in UART logger.
This commit is contained in:
parent
560889372f
commit
2e09307d8d
|
@ -25,8 +25,8 @@ impl Log for ConsoleLogger {
|
||||||
let seconds = timestamp / 1_000_000;
|
let seconds = timestamp / 1_000_000;
|
||||||
let micros = 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());
|
seconds, micros, record.level(), record.target(), record.args());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue