Length adjustment
parent
8d3e5e581a
commit
4a01d65d4a
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue