From 7ce605a6c9f2c59da97f5a288848c204c3e00eba Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 15:14:11 +0900 Subject: fix(compile): add stubs for missing trait implementations --- crates/shirabe/src/io/null_io.rs | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'crates/shirabe/src/io') diff --git a/crates/shirabe/src/io/null_io.rs b/crates/shirabe/src/io/null_io.rs index 10d56a1..0399bcb 100644 --- a/crates/shirabe/src/io/null_io.rs +++ b/crates/shirabe/src/io/null_io.rs @@ -2,6 +2,7 @@ use crate::io::base_io::BaseIO; use crate::io::io_interface::IOInterface; +use shirabe_external_packages::psr::log::logger_interface::LoggerInterface; use shirabe_php_shim::PhpMixed; #[derive(Debug)] @@ -131,3 +132,41 @@ impl BaseIO for NullIO { &mut self.authentications } } + +impl LoggerInterface for NullIO { + fn emergency(&self, message: &str, context: &[(&str, &str)]) { + todo!() + } + + fn alert(&self, message: &str, context: &[(&str, &str)]) { + todo!() + } + + fn critical(&self, message: &str, context: &[(&str, &str)]) { + todo!() + } + + fn error(&self, message: &str, context: &[(&str, &str)]) { + todo!() + } + + fn warning(&self, message: &str, context: &[(&str, &str)]) { + todo!() + } + + fn notice(&self, message: &str, context: &[(&str, &str)]) { + todo!() + } + + fn info(&self, message: &str, context: &[(&str, &str)]) { + todo!() + } + + fn debug(&self, message: &str, context: &[(&str, &str)]) { + todo!() + } + + fn log(&self, level: &str, message: &str, context: &[(&str, &str)]) { + todo!() + } +} -- cgit v1.3.1