fruently 0.4.0

A yet another Fluentd logger for Rust.
Documentation

Fruently

Build Status

A yet another Fluentd logger for Rust.

Usage

Add this to your Cargo.toml:

[dependencies]
fruently = "0.4.0"

and this to your crate root:

extern crate fruently;

A complete example

extern crate fruently;
use fruently::fluent::Fluent;
use std::collections::HashMap;
use fruently::forwardable::JsonForwardable;

fn main() {
    let mut obj: HashMap<String, String> = HashMap::new();
    obj.insert("name".to_string(), "fruently".to_string());
    let fruently = Fluent::new("0.0.0.0:24224", "test");
    let _ = fruently.post(&obj);
}

LICENSE

MIT.