Class: Log4r::BasicFormatter
- Inherits:
-
Object
- Object
- Log4r::BasicFormatter
- 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
Direct Known Subclasses
Vagrant::Util::HCLogFormatter, Vagrant::Util::LoggingFormatter
Instance Method Summary collapse
Instance Method Details
#format_object(obj) ⇒ Object
23 24 25 |
# File 'lib/vagrant.rb', line 23 def format_object(obj) Vagrant::Util::CredentialScrubber.desensitize(vagrant_format_object(obj)) end |
#vagrant_format_object ⇒ Object
22 |
# File 'lib/vagrant.rb', line 22 alias_method :vagrant_format_object, :format_object |