mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-02 16:57:53 -04:00
feat(multibinary): initialize a basic tracing subscriber until this is changed to a directory one using tracing-appender
at a later time
This commit is contained in:
@@ -17,6 +17,9 @@ fn main() {
|
|||||||
application_data_directory,
|
application_data_directory,
|
||||||
} = Args::parse();
|
} = Args::parse();
|
||||||
|
|
||||||
|
#[cfg(feature = "tracing")]
|
||||||
|
tracing_subscriber::fmt::init();
|
||||||
|
|
||||||
match create_dir_all(&application_data_directory) {
|
match create_dir_all(&application_data_directory) {
|
||||||
Ok(()) => {}
|
Ok(()) => {}
|
||||||
Err(e) if e.kind() == ErrorKind::AlreadyExists => {}
|
Err(e) if e.kind() == ErrorKind::AlreadyExists => {}
|
||||||
|
Reference in New Issue
Block a user