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.
      8 9 10 11  | 
    
      # File 'lib/dynflow/logger_adapters/delegator.rb', line 8 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.
      6 7 8  | 
    
      # File 'lib/dynflow/logger_adapters/delegator.rb', line 6 def action_logger @action_logger end  | 
  
#dynflow_logger ⇒ Object (readonly)
Returns the value of attribute dynflow_logger.
      6 7 8  | 
    
      # File 'lib/dynflow/logger_adapters/delegator.rb', line 6 def dynflow_logger @dynflow_logger end  |