Sha256: a0f179e16625d5b2ba2f7338589f0b6f265b4bafdcb38a487137493ae2fc4122

Contents?: true

Size: 221 Bytes

Versions: 50

Compression:

Stored size: 221 Bytes

Contents

module MongoModel
  module Logging
    extend ActiveSupport::Concern
    
    module ClassMethods
      def logger
        MongoModel.logger
      end
    end
    
    def logger
      self.class.logger
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
mongomodel-0.2.3 lib/mongomodel/concerns/logging.rb
mongomodel-0.2.2 lib/mongomodel/concerns/logging.rb
mongomodel-0.2.1 lib/mongomodel/concerns/logging.rb
mongomodel-0.2.0 lib/mongomodel/concerns/logging.rb
mongomodel-0.1.6 lib/mongomodel/concerns/logging.rb
mongomodel-0.1.5 lib/mongomodel/concerns/logging.rb
mongomodel-0.1.4 lib/mongomodel/concerns/logging.rb
mongomodel-0.1.3 lib/mongomodel/concerns/logging.rb
mongomodel-0.1.1 lib/mongomodel/concerns/logging.rb
mongomodel-0.1 lib/mongomodel/concerns/logging.rb