From de166dc7f8d8a9ee1dc62a76201316345a156f2d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 20 Jun 2026 03:31:16 +0900 Subject: feat(io): implement IOInterface error/warning/debug logging Resolve the 6 todo!() in ConsoleIO/NullIO by delegating the IOInterfaceImmutable logger methods to BaseIO. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/src/io/null_io.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/shirabe/src/io/null_io.rs') diff --git a/crates/shirabe/src/io/null_io.rs b/crates/shirabe/src/io/null_io.rs index b0e2139..6097024 100644 --- a/crates/shirabe/src/io/null_io.rs +++ b/crates/shirabe/src/io/null_io.rs @@ -116,16 +116,16 @@ impl IOInterfaceImmutable for NullIO { ::get_authentication(self, repository_name) } - fn error(&self, _message: &str, _context: &[(&str, &str)]) { - todo!() + fn error(&self, message: &str, context: &[(&str, &str)]) { + ::error(self, message, context); } - fn warning(&self, _message: &str, _context: &[(&str, &str)]) { - todo!() + fn warning(&self, message: &str, context: &[(&str, &str)]) { + ::warning(self, message, context); } - fn debug(&self, _message: &str, _context: &[(&str, &str)]) { - todo!() + fn debug(&self, message: &str, context: &[(&str, &str)]) { + ::debug(self, message, context); } } -- cgit v1.3.1