aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/psr/log/logger_interface.rs
blob: 1d61db65a53e7078f07d9a5f52699d7ce1fcb8af (plain)
1
2
3
4
5
6
7
8
9
10
11
pub trait LoggerInterface {
    fn emergency(&self, message: &str, context: &[(&str, &str)]);
    fn alert(&self, message: &str, context: &[(&str, &str)]);
    fn critical(&self, message: &str, context: &[(&str, &str)]);
    fn error(&self, message: &str, context: &[(&str, &str)]);
    fn warning(&self, message: &str, context: &[(&str, &str)]);
    fn notice(&self, message: &str, context: &[(&str, &str)]);
    fn info(&self, message: &str, context: &[(&str, &str)]);
    fn debug(&self, message: &str, context: &[(&str, &str)]);
    fn log(&self, level: &str, message: &str, context: &[(&str, &str)]);
}