GithubHelp home page GithubHelp logo

gelf-rust's Introduction

GELF for Rust (gelf)

Crates.io Build Status

A GELF implementation for Rust (Documentation)

TODO: What's GELF?

  • Link Graylog
  • Link GELF spec

TODO: What's this library?

TODO: GELF example usecases

Features

TODO: ::log-integration, list of backends, conversion of error levels

Install

To make use of GELF for Rust, simply add it as a dependency in your Cargo.toml. Check for the latest version at cargo.io:

[dependencies]
gelf = "a.b.c"

If you installed cargo-edit you can easily add the latest version by running:

cargo add gelf

Finally add the crate to your application:

extern crate gelf;

Examples & use

Two introductory examples (for both standalone and log-integrated uses) can be found in the crate's documentation.

Additional examples covering different backends and other advanced uses can be found in /examples. Every one of those can be run with ´cargo´, e.g.:

cargo run --example simple_udp

Documentation

The documentation is available at https://docs.rs/gelf and will get built automatically for every crate version.

License

GELF for rust (gelf) is licensed under the MIT-License.

Contact & Contributing

Contributions are very welcome. I will lay out a guide for contributions in a CONTRIBUTING.md. Until then you are invited to PR/issue as you like :-)

If you have any questions, feel free to contact me by mail, Twitter or on IRC. I'll usually idle as bzikarsky on freenode in #graylog.

TODO: CONTRIBUTING.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.