Initialize tracing subscriber
This commit is contained in:
parent
4a4534d6f3
commit
b9b9af6c44
@ -28,6 +28,7 @@ use std::process::exit;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::time::Duration;
|
||||
use tracing::warn;
|
||||
use tracing_subscriber;
|
||||
|
||||
init_i18n!(
|
||||
"plume", af, ar, bg, ca, cs, cy, da, de, el, en, eo, es, fa, fi, fr, gl, he, hi, hr, hu, it,
|
||||
@ -69,6 +70,7 @@ fn main() {
|
||||
Err(ref e) if e.not_found() => eprintln!("no .env was found"),
|
||||
e => e.map(|_| ()).unwrap(),
|
||||
}
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
App::new("Plume")
|
||||
.bin_name("plume")
|
||||
|
Loading…
Reference in New Issue
Block a user