pub fn init(logs_dir: &PathBuf, log_level: &str) -> Result<()>
Initialize the logging system. Creates a logs directory and writes JSON-formatted logs there.