Class: Dynflow::LoggerAdapters::Delegator
- Defined in:
- lib/dynflow/logger_adapters/delegator.rb
Instance Attribute Summary collapse
-
#action_logger ⇒ Object
readonly
Returns the value of attribute action_logger.
-
#dynflow_logger ⇒ Object
readonly
Returns the value of attribute dynflow_logger.
Instance Method Summary collapse
-
#initialize(action_logger, dynflow_logger, formatters = [Formatters::Exception]) ⇒ Delegator
constructor
A new instance of Delegator.
Methods inherited from Abstract
Constructor Details
#initialize(action_logger, dynflow_logger, formatters = [Formatters::Exception]) ⇒ Delegator
Returns a new instance of Delegator.
7 8 9 10 |
# File 'lib/dynflow/logger_adapters/delegator.rb', line 7 def initialize(action_logger, dynflow_logger, formatters = [Formatters::Exception]) @action_logger = apply_formatters action_logger, formatters @dynflow_logger = apply_formatters dynflow_logger, formatters end |
Instance Attribute Details
#action_logger ⇒ Object (readonly)
Returns the value of attribute action_logger.
5 6 7 |
# File 'lib/dynflow/logger_adapters/delegator.rb', line 5 def action_logger @action_logger end |
#dynflow_logger ⇒ Object (readonly)
Returns the value of attribute dynflow_logger.
5 6 7 |
# File 'lib/dynflow/logger_adapters/delegator.rb', line 5 def dynflow_logger @dynflow_logger end |