Class: ThinkingSphinx::Logger
- Inherits:
-
Object
- Object
- ThinkingSphinx::Logger
- Defined in:
- lib/thinking_sphinx/logger.rb
Class Method Summary collapse
Class Method Details
.log(notification, message, &block) ⇒ Object
4 5 6 7 8 |
# File 'lib/thinking_sphinx/logger.rb', line 4 def self.log(notification, , &block) ActiveSupport::Notifications.instrument( "#{notification}.thinking_sphinx", notification => , &block ) end |