Sha256: d9c794e7f55e20f5133a12213a7b178309fc727c137a94413ab2241559acd71a

Contents?: true

Size: 284 Bytes

Versions: 63

Compression:

Stored size: 284 Bytes

Contents

# encoding: UTF-8
module MongoMapper
  module Plugins
    module Logger
      module ClassMethods
        def logger
          MongoMapper.logger
        end
      end

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

Version data entries

63 entries across 63 versions & 9 rubygems

Version Path
jonbell-mongo_mapper-0.8.6 lib/mongo_mapper/plugins/logger.rb
ign-mongo_mapper-0.8.6.2 lib/mongo_mapper/plugins/logger.rb
ign-mongo_mapper-0.8.6.1 lib/mongo_mapper/plugins/logger.rb
ssherman-mongo_mapper-0.8.6 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-0.8.6 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-0.8.5 lib/mongo_mapper/plugins/logger.rb
honkster-mongo_mapper-0.8.4 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-0.8.4 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.19 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.18 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.17 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.16 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.15 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.14 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.13 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.12 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.11 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.10 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-unstable-2010.08.09 lib/mongo_mapper/plugins/logger.rb
mongo_mapper-0.8.3 lib/mongo_mapper/plugins/logger.rb