Class: Librr::Logger
Defined Under Namespace
Modules: ClassLogger
Instance Method Summary collapse
Instance Method Details
#create_logger ⇒ Object
30 31 32 33 34 |
# File 'lib/librr/logger.rb', line 30 def create_logger logger = Logger.new(STDOUT) logger.level = Logger::WARN logger end |
#logger ⇒ Object
22 23 24 |
# File 'lib/librr/logger.rb', line 22 def logger @logger ||= self.create_logger end |
#logger=(logger) ⇒ Object
26 27 28 |
# File 'lib/librr/logger.rb', line 26 def logger=(logger) @logger = logger end |