pub fn init(logs_path: PathBuf, filter: Option<String>) -> Result<()>
Initializes the tracing subscriber to output logs to a file