class ThinkingSphinx::Logger

Public Class Methods

log(notification, message, &block) click to toggle source
# File lib/thinking_sphinx/logger.rb, line 2
def self.log(notification, message, &block)
  ActiveSupport::Notifications.instrument(
    "#{notification}.thinking_sphinx", notification => message, &block
  )
end