Sha256: 09805855a0e9e0aa474b18e7be65cb623a829942875ace7302d74058bf798b33
Contents?: true
Size: 328 Bytes
Versions: 22
Compression:
Stored size: 328 Bytes
Contents
# encoding: utf-8 class InfiniteGelfProducer def initialize(host, port, chunksize) @client = GELF::Notifier.new(host, port, chunksize) end def run @producer = Thread.new do while true @client.notify!("short_message" => "hello world") end end end def stop @producer.kill end end
Version data entries
22 entries across 22 versions & 2 rubygems