Class: Log4r::BasicFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant.rb

Overview

Update the default formatter within the log4r library to ensure sensitive values are being properly scrubbed from logger data

Instance Method Summary collapse

Instance Method Details

#format_object(obj) ⇒ Object



16
17
18
# File 'lib/vagrant.rb', line 16

def format_object(obj)
  Vagrant::Util::CredentialScrubber.desensitize(vagrant_format_object(obj))
end

#vagrant_format_objectObject



15
# File 'lib/vagrant.rb', line 15

alias_method :vagrant_format_object, :format_object