Home
last modified time | relevance | path

Searched refs:LogLevel (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/filesystem/procfs/
H A Dlog.rs28 pub enum LogLevel { enum
41 impl From<usize> for LogLevel { implementation
44 0 => LogLevel::EMERG, in from()
45 1 => LogLevel::ALERT, in from()
46 2 => LogLevel::CRIT, in from()
47 3 => LogLevel::ERR, in from()
48 4 => LogLevel::WARN, in from()
49 5 => LogLevel::NOTICE, in from()
50 6 => LogLevel::INFO, in from()
51 7 => LogLevel::DEBUG, in from()
[all …]
H A Dkmsg.rs3 use super::log::{LogLevel, LogMessage};
38 console_loglevel: LogLevel,
48 console_loglevel: LogLevel::DEFAULT, in new()
64 LogLevel::DEFAULT => self.read_all(buf), in read()
97 self.console_loglevel = LogLevel::DEFAULT; in read_level()
123 0 => LogLevel::EMERG, in set_level()
124 1 => LogLevel::ALERT, in set_level()
125 2 => LogLevel::CRIT, in set_level()
126 3 => LogLevel::ERR, in set_level()
127 4 => LogLevel::WARN, in set_level()
[all …]
/DragonOS/kernel/src/libs/
H A Dprintk.rs12 log::{LogLevel, LogMessage},
75 let log_level = LogLevel::from(log_level); in log()