graylog-labs / gelf-rb

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

Pass hash argument to mutating methods #49

Closed defsprite closed 8 years ago

defsprite commented 8 years ago

Since multiple threads may share an instance of GELF::Notifier, the @hash payload should be passed around to each mutating method as an argument instead of being an instance variable.

milgner commented 8 years ago

:+1: Thank you for the patch! I'll need to check back with the team about whether everyone still needs to sign the CLA, but will gladly merge this once that has been cleared up.