Struct kernlog::KernelLog
[−]
[src]
pub struct KernelLog { // some fields omitted }
Kernel logger implementation
Methods
impl KernelLog
fn new() -> KernelLog
Create new kernel logger
fn with_level(filter: LogLevelFilter) -> KernelLog
Create new kernel logger with error level filter
fn init(filter: MaxLogLevelFilter) -> Box<Log>
Setup new kernel logger for log framework
fn init_env(filter: MaxLogLevelFilter) -> Box<Log>
Setup new kernel logger with error level from KERNLOG_LEVEL
environment variable
fn init_level(level: LogLevelFilter, filter: MaxLogLevelFilter) -> Box<Log>
Setup new kernel logger with error level filter