Sha256: 6294126c5cff26f6c9986fb7a2d718238f76f5ee6000ce8991144e2c5d14e950

Contents?: true

Size: 240 Bytes

Versions: 17

Compression:

Stored size: 240 Bytes

Contents

# frozen_string_literal: true

class ThinkingSphinx::Logger
  def self.log(notification, message, &block)
    ActiveSupport::Notifications.instrument(
      "#{notification}.thinking_sphinx", notification => message, &block
    )
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
thinking-sphinx-5.6.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-5.5.1 lib/thinking_sphinx/logger.rb
thinking-sphinx-5.5.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-5.4.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-5.3.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-5.2.1 lib/thinking_sphinx/logger.rb
thinking-sphinx-5.2.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-5.1.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-5.0.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-4.4.1 lib/thinking_sphinx/logger.rb
thinking-sphinx-4.4.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-4.3.2 lib/thinking_sphinx/logger.rb
thinking-sphinx-4.3.1 lib/thinking_sphinx/logger.rb
thinking-sphinx-4.3.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-4.2.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-4.1.0 lib/thinking_sphinx/logger.rb
thinking-sphinx-4.0.0 lib/thinking_sphinx/logger.rb