lib/rails-logstasher/event.rb in rails-logstasher-0.1.3 vs lib/rails-logstasher/event.rb in rails-logstasher-0.1.4

- old
+ new

@@ -3,10 +3,10 @@ # Basically a wrapper for a LogStash event that keeps track of if it was created from a rack # middle-ware or not. This is important when it comes to deciding when to write the log class Event extend Forwardable - def_delegators :@logstash_event, :fields, :message=, :source=, :type=, :tags, :to_json + def_delegators :@logstash_event, :fields, :message=, :source=, :type=, :tags, :to_json, :cancel, :uncancel, :cancelled? def initialize(logger, rack = false) @logger = logger @rack = rack @logstash_event = LogStash::Event.new