From 97896023cf5b8ac9a58baaba7d0571b0cc9ff8f7 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Sun, 8 Sep 2024 23:59:39 +0200 Subject: add logging --- src/packages/portage.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/packages/portage.rs') diff --git a/src/packages/portage.rs b/src/packages/portage.rs index 6b9e508..f9a760b 100644 --- a/src/packages/portage.rs +++ b/src/packages/portage.rs @@ -1,3 +1,5 @@ +use tracing::error; + use super::PackageManager; pub struct Portage; @@ -7,7 +9,8 @@ impl PackageManager for Portage { todo!() } - fn install(&self, pkgs: Vec) { + fn install(&self, pkgs: Vec) -> crate::error::Result<()> { + error!("Install {pkgs:?}"); todo!() } } -- cgit v1.2.3