diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-20 03:31:16 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-20 03:31:28 +0900 |
| commit | de166dc7f8d8a9ee1dc62a76201316345a156f2d (patch) | |
| tree | 8221b69bdf8f6a9a5a458b91b80e69048bf6180f /crates/shirabe/src/io/null_io.rs | |
| parent | 324e4347d86563d1ab6068c0d4b6268c9c49e256 (diff) | |
| download | php-shirabe-de166dc7f8d8a9ee1dc62a76201316345a156f2d.tar.gz php-shirabe-de166dc7f8d8a9ee1dc62a76201316345a156f2d.tar.zst php-shirabe-de166dc7f8d8a9ee1dc62a76201316345a156f2d.zip | |
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) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/io/null_io.rs')
| -rw-r--r-- | crates/shirabe/src/io/null_io.rs | 12 |
1 files changed, 6 insertions, 6 deletions
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 { <Self as BaseIO>::get_authentication(self, repository_name) } - fn error(&self, _message: &str, _context: &[(&str, &str)]) { - todo!() + fn error(&self, message: &str, context: &[(&str, &str)]) { + <Self as BaseIO>::error(self, message, context); } - fn warning(&self, _message: &str, _context: &[(&str, &str)]) { - todo!() + fn warning(&self, message: &str, context: &[(&str, &str)]) { + <Self as BaseIO>::warning(self, message, context); } - fn debug(&self, _message: &str, _context: &[(&str, &str)]) { - todo!() + fn debug(&self, message: &str, context: &[(&str, &str)]) { + <Self as BaseIO>::debug(self, message, context); } } |
