Class: TopologicalInventory::Providers::Common::Logger

Inherits:
ManageIQ::Loggers::CloudWatch
  • Object
show all
Defined in:
lib/topological_inventory/providers/common/logging.rb

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object



38
39
40
41
42
43
# File 'lib/topological_inventory/providers/common/logging.rb', line 38

def self.new(*args)
  super.tap do |logger|
    logger.extend(TopologicalInventory::Providers::Common::LoggingFunctions)
    logger.level = ENV['LOG_LEVEL'] if ENV['LOG_LEVEL']
  end
end