Sha256: f10a75b5dab5245cff4a20df42257485c2c3b8081fc3cd4d686bdc925a5571ab

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

require 'socket'

class Woodchuck::Output
  attr_accessor :type, :logger, :host
  
  def initialize(log_level)
    @host = Socket.gethostname
    @logger = Woodchuck::Logger.new(::STDOUT)
		@logger.level = log_level
  end
  
  def handle(event)
    true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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