A logging fascility inspired by the python logging framework.
This library implements named herachical loggers which have message handlers associated with them.
```rust extern crate logging;
use std::sync::Arc;
struct MyOwnHandler {}
impl logging::Handler for MyOwnHandler { fn emit(&self, msg: &logging::Message) { print!("{:7} | {}", msg.name, msg.msg); } }
fn main() { logging::debug("app started");
let log = logging::get("myapp"); log.addhandler(logging::ConsoleHandler::new()); log.addhandler(Arc::new(Box::new(MyOwnHandler {})));
log.info("created".toowned()); { let sublog = logging::get("myapp.special"); sub_log.debug("some other stuff"); } } ```