Module: Ripple::Loggable
- Defined in:
- lib/ripple_searchable/loggable.rb
Instance Method Summary collapse
Instance Method Details
#logger ⇒ Object
5 6 7 8 |
# File 'lib/ripple_searchable/loggable.rb', line 5 def logger return @logger if defined?(@logger) @logger = rails_logger || default_logger end |
#logger=(logger) ⇒ Object
10 11 12 |
# File 'lib/ripple_searchable/loggable.rb', line 10 def logger=(logger) @logger = logger end |