Class: FYT::Base
- Inherits:
-
Object
show all
- Defined in:
- lib/fyt/base.rb
Overview
processes the Youtube feed
Constant Summary
collapse
- @@logger =
nil
Instance Method Summary
collapse
Instance Method Details
#logger ⇒ Object
10
11
12
13
14
15
|
# File 'lib/fyt/base.rb', line 10
def logger
@@logger ||= Logger.new(STDOUT).tap do |logger|
logger.level = Logger::INFO
logger.level = Logger::DEBUG if FYT::Config.new[:debug]
end
end
|