Module: IrMarkLogger
- Included in:
- HmrcIrMarkCalculator
- Defined in:
- lib/hmrc_ir_mark_calculator/logger.rb
Overview
Logging for the calculator Provides an escape hatch to set a custom logger otherwise the default ruby logger will be used
Instance Attribute Summary collapse
Instance Attribute Details
#logger ⇒ Object
12 13 14 15 16 |
# File 'lib/hmrc_ir_mark_calculator/logger.rb', line 12 def logger @logger ||= Logger.new($stdout).tap do |log| log.progname = name end end |