Module: Tweetlr::LogAware

Class Method Summary collapse

Class Method Details

.logObject



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