aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/io/null_io.rs
diff options
context:
space:
mode:
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!()
+ }
+}