Length adjustment

master
Mark 2024-01-23 21:22:41 -08:00
parent 8d3e5e581a
commit 4a01d65d4a
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
1 changed files with 2 additions and 2 deletions

View File

@ -44,10 +44,10 @@ mod cli;
fn set_up_logger(_args: &Args) -> log4rs::Handle { fn set_up_logger(_args: &Args) -> log4rs::Handle {
// h: highlight with level color // h: highlight with level color
// :<0.40 right align, min 0, max 40 // :<0.128 right align, min 0, max 128
let stdout = ConsoleAppender::builder() let stdout = ConsoleAppender::builder()
.encoder(Box::new(PatternEncoder::new( .encoder(Box::new(PatternEncoder::new(
"{d(%H:%M:%S)} | {({h({l})}):5.5} | \x1b[0;34m{M}\x1b[0m — {m:<0.50}{n}", "{d(%H:%M:%S)} | {({h({l})}):5.5} | \x1b[0;34m{M}\x1b[0m — {m:<0.128}{n}",
))) )))
.build(); .build();