Class: PDFService::Utils::NullLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/pdf_service/utils/null_logger.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ NullLogger

Returns a new instance of NullLogger.



6
7
8
# File 'lib/pdf_service/utils/null_logger.rb', line 6

def initialize(*args)
  @level = Logger::WARN
end

Instance Attribute Details

#levelObject

Returns the value of attribute level.



10
11
12
# File 'lib/pdf_service/utils/null_logger.rb', line 10

def level
  @level
end