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