Class: FiltersTracer::Configuration
- Inherits:
-
Object
- Object
- FiltersTracer::Configuration
- Defined in:
- lib/filters_tracer.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 |
# File 'lib/filters_tracer.rb', line 13 def initialize self.logger = defined?(::Rails) ? Rails.logger : Logger.new(STDOUT) end |
Instance Attribute Details
#logger ⇒ Logger
11 12 13 |
# File 'lib/filters_tracer.rb', line 11 def logger @logger end |