Class: Octo::ApiLogger
- Inherits:
-
Object
- Object
- Octo::ApiLogger
- Defined in:
- lib/octocore-mongo/helpers/api_logger.rb
Class Method Summary collapse
Class Method Details
.logger ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/octocore-mongo/helpers/api_logger.rb', line 5 def self.logger if @_logger.nil? @_logger = Logger.new STDOUT @_logger.level = Logger::INFO @_logger.datetime_format = '%a %d-%m-%Y %H%M ' end @_logger end |