Class: InformantRails::ParameterFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/informant-rails/parameter_filter.rb

Class Method Summary collapse

Class Method Details

.filter(name, value) ⇒ Object



3
4
5
# File 'lib/informant-rails/parameter_filter.rb', line 3

def self.filter(name, value)
  Config.value_tracking && !matcher.match(name) ? value : '[FILTERED]'
end