Module: Tweetlr::LogAware
- Included in:
- Combinators::TwitterTumblr, Core, Processors::Http, Processors::PhotoService, Processors::Tumblr, Processors::Twitter
- Defined in:
- lib/tweetlr/log_aware.rb
Class Method Summary collapse
Class Method Details
.log ⇒ Object
7 8 9 |
# File 'lib/tweetlr/log_aware.rb', line 7 def self.log() @log || Logger.new(STDOUT) end |
.log=(log) ⇒ Object
4 5 6 |
# File 'lib/tweetlr/log_aware.rb', line 4 def self.log=(log) @log = log end |