Module: WatirCrawler::Loggable::Log
- Defined in:
- lib/watir_crawler/loggable.rb
Instance Method Summary collapse
Instance Method Details
#log(msg = nil) ⇒ Object
26 27 28 29 30 31 32 |
# File 'lib/watir_crawler/loggable.rb', line 26 def log msg = nil if msg Loggable.logger.debug(msg) if Loggable.debug else Loggable.logger end end |