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.5.5 lib/mongomodel/concerns/logging.rb
mongomodel-0.5.4 lib/mongomodel/concerns/logging.rb
mongomodel-0.5.3 lib/mongomodel/concerns/logging.rb
mongomodel-0.5.2 lib/mongomodel/concerns/logging.rb
mongomodel-0.5.1 lib/mongomodel/concerns/logging.rb
mongomodel-0.5.0 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.9 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.8 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.7 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.6 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.5 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.4 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.3 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.2 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.1 lib/mongomodel/concerns/logging.rb
mongomodel-0.4.0 lib/mongomodel/concerns/logging.rb
mongomodel-0.3.6 lib/mongomodel/concerns/logging.rb
mongomodel-0.3.5 lib/mongomodel/concerns/logging.rb
mongomodel-0.3.4 lib/mongomodel/concerns/logging.rb
mongomodel-0.3.3 lib/mongomodel/concerns/logging.rb