This commit is contained in:
Andras Schmelczer 2025-03-29 10:07:58 +00:00
parent 1a05e184a7
commit ec58c0ab9b
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
4 changed files with 3 additions and 4 deletions

View file

@ -17,9 +17,7 @@ pub struct Args {
#[arg(
long,
require_equals = true,
value_name = "WHEN",
num_args = 0..=1,
default_value_t = ColorWhen::Auto,
default_missing_value = "always",
value_enum

View file

@ -52,6 +52,7 @@ fn set_up_logging(args: &Args) -> Result<(), SyncServerError> {
.map_err(init_error)?;
let use_colors = args.color.use_colors();
let is_debug_mode = args.verbose.log_level_filter() >= log::LevelFilter::Debug;
tracing_subscriber::fmt()