Sha256: 748ad22e28246653575ec8f38dd623c6332f9bbac1143693607a3dd88d875924

Contents?: true

Size: 244 Bytes

Versions: 13

Compression:

Stored size: 244 Bytes

Contents

require 'active_support/concern'

module ActiveHouse
  module Logger
    extend ActiveSupport::Concern

    class_methods do
      def logger
        Clickhouse.logger
      end
    end

    def logger
      self.class.logger
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
active_house-0.4.0 lib/active_house/logger.rb
active_house-0.3.2 lib/active_house/logger.rb
active_house-0.3.1 lib/active_house/logger.rb
active_house-0.3.0 lib/active_house/logger.rb
active_house-0.2.2 lib/active_house/logger.rb
active_house-0.2.1 lib/active_house/logger.rb
active_house-0.2.0 lib/active_house/logger.rb
active_house-0.1.5 lib/active_house/logger.rb
active_house-0.1.4 lib/active_house/logger.rb
active_house-0.1.3 lib/active_house/logger.rb
active_house-0.1.2 lib/active_house/logger.rb
active_house-0.1.1 lib/active_house/logger.rb
active_house-0.1.0 lib/active_house/logger.rb