This crate provides appender implementation for log4rs.
```rust use std::time::Duration;
fn main() { log4rs::initfile( "pathtoconfig.yaml", log4rslogstash::config::deserializers(), ).unwrap(); spawnsignalhandler().unwrap();
log::debug!("Debug");
log::trace!("Trace");
log::info!("Info");
log::warn!("Warn");
log::error!("Error");
} ```
examples/basic.rs
provides example of program with exit handling.
examples/basic_config.yaml
example of config file with logstash appender.