blob: 7232fa0dc120836210173a25a8bf4fda62b8b6dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct LogLevel;
impl LogLevel {
pub const EMERGENCY: &'static str = "emergency";
pub const ALERT: &'static str = "alert";
pub const CRITICAL: &'static str = "critical";
pub const ERROR: &'static str = "error";
pub const WARNING: &'static str = "warning";
pub const NOTICE: &'static str = "notice";
pub const INFO: &'static str = "info";
pub const DEBUG: &'static str = "debug";
}
|