Class: Mongoid::Logger
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
14 15 16 |
# File 'lib/mongoid/logger.rb', line 14 def inspect "#<Mongoid::Logger:0x#{object_id.to_s(16)} @logger=#{logger.inspect}>" end |
#warn(message) ⇒ Object
6 7 8 |
# File 'lib/mongoid/logger.rb', line 6 def warn() logger.warn() if logger && logger.respond_to?(:warn) end |