Sha256: 310c1d1c004c761b592775f056e31d78a8d2a03fff1dca0e073ff28d6f8cf2fa

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

require 'woodchuck/output'

class Woodchuck::Output::STDOUT < Woodchuck::Output
  def initialize
    super
    @type = :stdout
  end
  
  def handle(event)
    @logger.info "Logging event to STDOUT", event.to_hash
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
woodchuck-0.0.1 lib/woodchuck/output/stdout.rb