Class: Txgh::TxLogger
- Inherits:
-
Object
- Object
- Txgh::TxLogger
- Defined in:
- lib/txgh/tx_logger.rb
Class Method Summary collapse
Class Method Details
.logger ⇒ Object
5 6 7 8 9 10 |
# File 'lib/txgh/tx_logger.rb', line 5 def self.logger @_logger ||= Logger.new(STDOUT).tap do |logger| logger.level = Logger::INFO logger.datetime_format = '%a %d-%m-%Y %H%M ' end end |