fix(log): swap everything to use logging

This commit is contained in:
2025-10-27 00:21:24 -04:00
parent e8a4fa5053
commit 094128de58
2 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
use crate::context::SproutContext;
use anyhow::Result;
use log::info;
use serde::{Deserialize, Serialize};
use std::rc::Rc;
@@ -13,6 +14,6 @@ pub struct PrintConfiguration {
/// Executes the print action with the specified `configuration` inside the provided `context`.
pub fn print(context: Rc<SproutContext>, configuration: &PrintConfiguration) -> Result<()> {
println!("{}", context.stamp(&configuration.text));
info!("{}", context.stamp(&configuration.text));
Ok(())
}