lib/vizsla/subscribers.rb in vizsla-0.0.4 vs lib/vizsla/subscribers.rb in vizsla-0.0.5
- old
+ new
@@ -67,11 +67,10 @@
end
class Subscribers
def initialize
@events_data = Recorder
- # @logger = RequestLogger.new
collect_events_data
end
def sql_hook
return unless rails_app?
@@ -116,9 +115,10 @@
def collect_events_data
sql_hook
process_action_hook
render_template_hook
+ postgres_hook
end
def report_events_data
@logger.log_events(@events_data)
end