mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 15:46:36 +00:00
Fix UIThreadLogger
: Add newline for each logging
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
b283908bd5
commit
f5514c834b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ impl Log for UIThreadLogger {
|
||||||
{
|
{
|
||||||
let output = Self::BUFFER.with(|cell| {
|
let output = Self::BUFFER.with(|cell| {
|
||||||
let mut buffer = cell.take();
|
let mut buffer = cell.take();
|
||||||
write!(&mut buffer, "{}", record.args()).unwrap();
|
writeln!(&mut buffer, "{}", record.args()).unwrap();
|
||||||
|
|
||||||
let output = buffer.split().freeze();
|
let output = buffer.split().freeze();
|
||||||
cell.set(buffer);
|
cell.set(buffer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue