Sha256: 9d1df448a724780d0fc0043ed6da793807ecab4576317c6b0aa88e2bebcf08cc

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

module MongoMapper
  module Plugins
    module Logger
      extend ActiveSupport::Concern
      
      module ClassMethods
        def logger
          MongoMapper.logger
        end
      end

      module InstanceMethods
        def logger
          self.class.logger
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongo_mapper-rails3-0.7.0.1 lib/mongo_mapper/plugins/logger.rb