pub fn init(logs_dir: &PathBuf, verbose: bool) -> Result<()>
Initialize the logging system. Creates a logs directory and writes JSON-formatted logs there. Also logs to stderr if verbose mode is enabled.