Class: ActiveRecord::SimpleDBLogger
- Defined in:
- lib/active_record/connection_adapters/simpledb_adapter/misc/simpledb_logger.rb
Instance Method Summary collapse
- #info(*args) ⇒ Object
-
#initialize(logger) ⇒ SimpleDBLogger
constructor
A new instance of SimpleDBLogger.
- #method_missing(m, *args) ⇒ Object
Constructor Details
#initialize(logger) ⇒ SimpleDBLogger
Returns a new instance of SimpleDBLogger.
3 4 5 |
# File 'lib/active_record/connection_adapters/simpledb_adapter/misc/simpledb_logger.rb', line 3 def initialize(logger) @logger = logger end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args) ⇒ Object
11 12 13 |
# File 'lib/active_record/connection_adapters/simpledb_adapter/misc/simpledb_logger.rb', line 11 def method_missing m, *args @logger.send(m, args) end |
Instance Method Details
#info(*args) ⇒ Object
7 8 9 |
# File 'lib/active_record/connection_adapters/simpledb_adapter/misc/simpledb_logger.rb', line 7 def info *args #skip noisy info messages from aws interface end |