Module: Howcast::Logging::ClassMethods

Defined in:
lib/howcast/logging.rb

Instance Method Summary collapse

Instance Method Details

#logObject



31
32
33
# File 'lib/howcast/logging.rb', line 31

def log
  @logger ||= Logger.new($stdout)
end

#log=(new_logger) ⇒ Object



35
36
37
# File 'lib/howcast/logging.rb', line 35

def log= new_logger
  @logger = new_logger
end