- Allow events to override another (needed for multiline)

This commit is contained in:
Jordan Sissel 2010-11-20 03:36:55 +00:00
parent 35529dcd8f
commit 928e72a690

View file

@ -66,5 +66,9 @@ module LogStash; class Event
def to_hash; return @data end # def to_hash
def overwrite(event)
@data = event.to_hash
end
def include?(key); return @data.include?(key) end
end; end # class LogStash::Event