pub fn init_with_path(path: &str) -> Result<(), Box<dyn Error>>
Initialize the logger with a custom log file path