diff --git a/src/core/log/fmt.rs b/src/core/log/fmt.rs index dbaef890..62944977 100644 --- a/src/core/log/fmt.rs +++ b/src/core/log/fmt.rs @@ -32,7 +32,7 @@ where S: Write, { let level = level.as_str().to_uppercase(); - writeln!(out, "| `{level:>5}` | `{span:^12}` | `{msg} |")?; + writeln!(out, "| {level:>5} | {span:^12} | {msg} |")?; Ok(()) } @@ -41,7 +41,7 @@ pub fn markdown_table_head(out: &mut S) -> Result<()> where S: Write, { - write!(out, "| level | span | message |\n|------:|:----:|:--------|\n")?; + write!(out, "| level | span | message |\n| ------: | :-----: | :------- |\n")?; Ok(()) }