chore: simplify info and debug output
This commit is contained in:
10
src/main.rs
10
src/main.rs
@@ -44,15 +44,7 @@ struct Args {
|
||||
|
||||
fn main() {
|
||||
Builder::new()
|
||||
.format(|buf, record| {
|
||||
writeln!(
|
||||
buf,
|
||||
"{} {}: {}",
|
||||
record.target(),
|
||||
record.level(),
|
||||
record.args()
|
||||
)
|
||||
})
|
||||
.format(|buf, record| writeln!(buf, "{}: {}", record.level(), record.args()))
|
||||
.parse_default_env()
|
||||
.init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user