module Todo::Logger
Handles depreciation warnings and other issues related to API usage
Attributes
logger[W]
Sets a new logger object
Public Class Methods
included(base)
click to toggle source
# File lib/todo/logger.rb, line 6 def self.included(base) base.extend(self) end
logger()
click to toggle source
Creates a new logger object
# File lib/todo/logger.rb, line 19 def logger @logger ||= ::Logger.new(STDOUT) end
Public Instance Methods
logger()
click to toggle source
# File lib/todo/logger.rb, line 10 def logger Todo::Logger.logger end