graylog-labs / gelf-rb

Ruby GELF library (Graylog Extended Log Format)
https://rubygems.org/gems/gelf
MIT License
153 stars 104 forks source link

Add json_dump method and use that for converting to json #64

Open griff opened 6 years ago

griff commented 6 years ago

This adds a json_dump method that uses Yajl.dump when available and JSON.dump otherwise.

This fixes #63

CLAassistant commented 6 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

tessie commented 6 years ago

@griff json_dump is defined in two places. Could you please fix that.and please sign the contributor agreement