Module: Logging
- Included in:
- PoAndXliffConsolidator::Combine, PoAndXliffConsolidator::Extract, PoAndXliffConsolidator::FileHandle, PoAndXliffConsolidator::Manipulate, PoAndXliffConsolidator::Transform, PoAndXliffConsolidator::TranslateUnit
- Defined in:
- lib/po_and_xliff_consolidator/logging.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
Addition
15 16 17 18 19 20 21 |
# File 'lib/po_and_xliff_consolidator/logging.rb', line 15 def self.included(base) class << base def logger Logging.logger end end end |
.logger ⇒ Object
5 6 7 |
# File 'lib/po_and_xliff_consolidator/logging.rb', line 5 def logger @logger ||= Logger.new($stdout) end |
.logger=(logger) ⇒ Object
9 10 11 |
# File 'lib/po_and_xliff_consolidator/logging.rb', line 9 def logger=(logger) @logger = logger end |