minor cosmetic changes

This commit is contained in:
Christoph J. Scherr 2023-08-08 14:08:19 +02:00
parent b5dbbeaff2
commit 33ec84075a
2 changed files with 7 additions and 2 deletions

View File

@ -28,6 +28,7 @@ pub mod args;
use args::*;
//// CONSTANTS /////////////////////////////////////////////////////////////////////////////////////
#[allow(dead_code)]
const EXIT_SUCCESS: i32 = 0;
const EXIT_FAILURE_USAGE: i32 = 1;

View File

@ -107,8 +107,12 @@ impl Logger {
warn!("trying to reinitialize the logger, ignoring");
return Err(Error::Usage(format!("logging is already initialized")));
} else {
let filter = tracing_subscriber::filter::FilterFn::new(|metadata| {
true
let filter = tracing_subscriber::filter::FilterFn::new(|_metadata| {
#[allow(unused_variables)]
#[allow(unused_mut)]
let mut status = true;
status
});
let basic_subscriber = tracing_subscriber::fmt::Subscriber::builder()