Sha256: 10d61b491c7539d4058b3e96ca2b4b6b1416294b59c88a22eddb6d317d2d7b23

Contents?: true

Size: 393 Bytes

Versions: 17

Compression:

Stored size: 393 Bytes

Contents

require "logtail-rails/active_record/log_subscriber"

module Logtail
  module Integrations
    # Module for holding *all* ActiveRecord integrations. See {Integration} for
    # configuration details for all integrations.
    module ActiveRecord
      extend Integration

      def self.integrate!
        return false if !enabled?

        LogSubscriber.integrate!
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
logtail-rails-0.2.8 lib/logtail-rails/active_record.rb
logtail-rails-0.2.7 lib/logtail-rails/active_record.rb
logtail-rails-0.2.6 lib/logtail-rails/active_record.rb
logtail-rails-0.2.5 lib/logtail-rails/active_record.rb
logtail-rails-0.2.4 lib/logtail-rails/active_record.rb
logtail-rails-0.2.3 lib/logtail-rails/active_record.rb
logtail-rails-0.2.2 lib/logtail-rails/active_record.rb
logtail-rails-0.2.1 lib/logtail-rails/active_record.rb
logtail-rails-0.1.8 lib/logtail-rails/active_record.rb
logtail-rails-0.1.7 lib/logtail-rails/active_record.rb
logtail-rails-0.1.6 lib/logtail-rails/active_record.rb
logtail-rails-0.1.5 lib/logtail-rails/active_record.rb
logtail-rails-0.1.4 lib/logtail-rails/active_record.rb
logtail-rails-0.1.3 lib/logtail-rails/active_record.rb
logtail-rails-0.1.2 lib/logtail-rails/active_record.rb
logtail-rails-0.1.1 lib/logtail-rails/active_record.rb
logtail-rails-0.1.0 lib/logtail-rails/active_record.rb