Sha256: f399b028d9f2227cd0ac3e981c78550cc36e33c10ee7e2643fd898e319aba3c9

Contents?: true

Size: 234 Bytes

Versions: 2

Compression:

Stored size: 234 Bytes

Contents

require 'woodchuck/output'

class Woodchuck::Output::ZeroMQ < Woodchuck::Output
  def initialize(log_level)
    super(log_level)
    @type = :zeromq
  end
  
  def handle(event)
    @logger.info event.message, event.to_hash
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
woodchuck-json-event-0.0.2 lib/woodchuck/output/zeromq.rb
woodchuck-json-event-0.0.1 lib/woodchuck/output/zeromq.rb