Module: CrawlStation::Logger

Defined in:
lib/crawl_station/logger.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



4
5
6
# File 'lib/crawl_station/logger.rb', line 4

def logger
  @logger
end

Class Method Details

.method_missing(method_name, *args, &block) ⇒ Object



5
6
7
8
9
# File 'lib/crawl_station/logger.rb', line 5

def method_missing(method_name, *args, &block)
  return false if logger.nil?
  return super unless logger.respond_to?(method_name)
  logger.send(method_name, *args, &block)
end