Struct logging::_Logger
[−]
[src]
pub struct _Logger { pub level: Level, // some fields omitted }
A logger node.
note: Normaly you should never have to create an instance by yourself.
Fields
level: Level
The level of the logger.
Methods
impl _Logger
[src]
fn add_handler(&self, handler: Arc<Box<Handler>>)
[src]
Add a new handler to the logger node.
fn clear_handlers(&self)
[src]
fn name(&self) -> String
[src]
Returns the name part of this logger.
fn full_name(&self) -> String
[src]
Returns the full name of the logger.
fn log(&self, level: Level, msg: &str)
[src]
Logs a message.
fn debug(&self, fmt: &str)
[src]
Logs a debug message.
fn info(&self, fmt: &str)
[src]
Logs a info message.
fn warn(&self, fmt: &str)
[src]
Logs a warn message.
fn error(&self, fmt: &str)
[src]
Logs a error message.
fn fatal(&self, fmt: &str)
[src]
Logs a fatal message.