lib/logstash/outputs/stdout.rb in logstash-output-stdout-0.1.1 vs lib/logstash/outputs/stdout.rb in logstash-output-stdout-0.1.2
- old
+ new
@@ -42,11 +42,11 @@
default :codec, "line"
public
def register
- @codec.on_event do |event|
- $stdout.write(event)
+ @codec.on_event do |event, data|
+ $stdout.write(data)
end
end
def receive(event)
return unless output?(event)