Class: Log4r::BasicFormatter

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

Overview

sensitive values are being properly scrubbed from logger data

Direct Known Subclasses

Vagrant::Util::LoggingFormatter

Instance Method Summary collapse

Instance Method Details

#format_object(obj) ⇒ Object


7
8
9
# File 'lib/vagrant.rb', line 7

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

#vagrant_format_objectObject


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

alias_method :vagrant_format_object, :format_object