emsearcy / fluent-plugin-gelf

Buffered fluentd output plugin to GELF (Graylog2)
Apache License 2.0
33 stars 57 forks source link

Converting the output plugin to use GelfUtil. #37

Closed aayamauchi closed 6 years ago

aayamauchi commented 7 years ago

Although this will merge without conflict, this change depends upon PR #36 in order for things to work correctly. This change set converts the existing output plugin to use the GelfUtil module added in PR #36 to consolidate the shared functionality. As part of the edits, I also fixed the indentation on the class block, since it was making life really difficult trying to line up blocks during the editing.