Module: Aspector::Logging

Defined in:
lib/aspector/logging.rb

Overview

Class used as a wrapper to get logging instances

Class Method Summary collapse

Class Method Details

.get_logger(context) ⇒ Object



5
6
7
# File 'lib/aspector/logging.rb', line 5

def get_logger(context)
  (deconstantize(ENV['ASPECTOR_LOGGER'] || 'Aspector::Logger')).new(context)
end