Class: GoodData::NilLogger
Overview
Dummy implementation of logger
Instance Attribute Summary collapse
- 
  
    
      #level  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute level.
 
Instance Method Summary collapse
- 
  
    
      #debug(*_args)  ⇒ Object 
    
    
      (also: #info, #warn, #error, #add)
    
  
  
  
  
  
  
  
  
  
    
No body define need for dummy logger.
 - #debug? ⇒ Boolean (also: #info?, #warn?, #error?, #fatal?)
 - 
  
    
      #initialize(*_args)  ⇒ NilLogger 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of NilLogger.
 
Constructor Details
#initialize(*_args) ⇒ NilLogger
Returns a new instance of NilLogger.
      11 12 13  | 
    
      # File 'lib/gooddata/core/nil_logger.rb', line 11 def initialize(*_args) @level = nil end  | 
  
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
      9 10 11  | 
    
      # File 'lib/gooddata/core/nil_logger.rb', line 9 def level @level end  | 
  
Instance Method Details
#debug(*_args) ⇒ Object Also known as: info, warn, error, add
No body define need for dummy logger
      16 17  | 
    
      # File 'lib/gooddata/core/nil_logger.rb', line 16 def debug(*_args) end  | 
  
#debug? ⇒ Boolean Also known as: info?, warn?, error?, fatal?
      24 25 26  | 
    
      # File 'lib/gooddata/core/nil_logger.rb', line 24 def debug? false end  |