generated from PlexSheep/baserepo
minor cosmetic changes
This commit is contained in:
parent
b5dbbeaff2
commit
33ec84075a
|
@ -28,6 +28,7 @@ pub mod args;
|
|||
use args::*;
|
||||
|
||||
//// CONSTANTS /////////////////////////////////////////////////////////////////////////////////////
|
||||
#[allow(dead_code)]
|
||||
const EXIT_SUCCESS: i32 = 0;
|
||||
const EXIT_FAILURE_USAGE: i32 = 1;
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Reference in New Issue