Module: LoggingExtensions

Defined in:
lib/rack/bug/panels/log_panel/rails_extension.rb

Instance Method Summary collapse

Instance Method Details

#add(*args, &block) ⇒ Object



3
4
5
6
7
# File 'lib/rack/bug/panels/log_panel/rails_extension.rb', line 3

def add(*args, &block)
  logged_message = super
  Rack::Bug::LogPanel.record(logged_message, args[0])
  return logged_message
end