lib/rails-logstasher.rb in rails-logstasher-0.1.1 vs lib/rails-logstasher.rb in rails-logstasher-0.1.2

- old
+ new

@@ -11,6 +11,15 @@ def self.log_entries @@events ||= {} end + # Options: + # :entry_processor - a Proc to custom handle entries right before they are written to the log. + # RailsLogstasher.config[:entry_processor] = Proc.new {|entry| ... do stuff with entry ...} + # + def self.config + @@config ||= {} + end + + end