#seq #logging #emit #log #collector #structured #seq-collector

emit_seq

A Seq collector for the emit structured logger

3 releases (breaking)

Uses old Rust 2015

0.3.0 Jul 15, 2016
0.2.0 Jul 5, 2016
0.1.0 Jun 23, 2016

#15 in #seq

Apache-2.0

9KB
181 lines

emit_seq Join the chat at https://gitter.im/serilog/serilog Crates.io

Seq collector for the emit structured logger.

Using the crate

In Cargo.toml:

[dependencies]
emit="*"
emit_seq="*"

In main.rs:

#[macro_use]
extern crate emit;
use emit::PipelineBuilder;
use emit_seq::SeqCollector;

fn main() {
    let _flush = PipelineBuilder::new()
        .send_to(SeqCollector::new("https://my-seq-server"))
        .init();

    info!("Hello, {}!", user: "World");
}

Dependencies

~11MB
~172K SLoC