aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io/null_io.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 15:14:11 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 15:14:11 +0900
commit7ce605a6c9f2c59da97f5a288848c204c3e00eba (patch)
tree81b93e738770e46e2d829d16dd4bd27d9f8e06ef /crates/shirabe/src/io/null_io.rs
parent748e741f740ac46ec40e42679aba3b07927709c0 (diff)
downloadphp-shirabe-7ce605a6c9f2c59da97f5a288848c204c3e00eba.tar.gz
php-shirabe-7ce605a6c9f2c59da97f5a288848c204c3e00eba.tar.zst
php-shirabe-7ce605a6c9f2c59da97f5a288848c204c3e00eba.zip
fix(compile): add stubs for missing trait implementations
Diffstat (limited to 'crates/shirabe/src/io/null_io.rs')
-rw-r--r--crates/shirabe/src/io/null_io.rs39
1 files changed, 39 insertions, 0 deletions
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!()
+ }
+}