aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/psr/log/logger_interface.rs
blob: fbaba75b643a815dc69c1fd5d6144ddd11df6769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! ref: composer/vendor/psr/log/Psr/Log/LoggerInterface.php

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)]);
}