chore: update README

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-10-13 23:36:52 +01:00
parent 5e0a987386
commit e3720b8afb
12 changed files with 354 additions and 198 deletions

View File

@@ -1,5 +1,3 @@
use std::error::Error;
use log::LevelFilter;
use log4rs::{
Config,
@@ -8,7 +6,7 @@ use log4rs::{
encode::pattern::PatternEncoder,
};
pub fn init(quiet: bool, verbose: bool) -> Result<(), Box<dyn Error + Send + Sync>> {
pub fn init(quiet: bool, verbose: bool) -> Result<(), anyhow::Error> {
let level = if quiet {
LevelFilter::Warn
} else if verbose {