Flowdock
method

call

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: ActiveSupport::LogSubscriber
call(message, *args) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/log_subscriber.rb, line 88
    def call(message, *args)
      return unless logger

      method = message.split('.').first
      begin
        send(method, ActiveSupport::Notifications::Event.new(message, *args))
      rescue Exception => e
        logger.error "Could not log #{message.inspect} event. #{e.class}: #{e.message}"
      end
    end
Register or log in to add new notes.