Class: GoodData::NilLogger

Inherits:
Object show all
Defined in:
lib/gooddata/core/nil_logger.rb

Overview

Dummy implementation of logger

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*_args) ⇒ NilLogger

Returns a new instance of NilLogger.



12
13
14
# File 'lib/gooddata/core/nil_logger.rb', line 12

def initialize(*_args)
  @level = nil
end

Instance Attribute Details

#levelObject

Returns the value of attribute level.



10
11
12
# File 'lib/gooddata/core/nil_logger.rb', line 10

def level
  @level
end

Instance Method Details

#debug(*_args) ⇒ Object Also known as: info, warn, error



16
17
# File 'lib/gooddata/core/nil_logger.rb', line 16

def debug(*_args)
end