Module: Librr::Logger::ClassLogger

Instance Method Summary collapse

Instance Method Details

#debug(text) ⇒ Object



17
18
19
# File 'lib/librr/logger.rb', line 17

def debug(text)
  self.logger.debug(self.class.name){ text }
end

#info(text) ⇒ Object



13
14
15
# File 'lib/librr/logger.rb', line 13

def info(text)
  self.logger.info(self.class.name){ text }
end

#loggerObject



9
10
11
# File 'lib/librr/logger.rb', line 9

def logger
  Librr::Logger.instance.logger
end