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
16 17 18 |
# File 'lib/vagrant.rb', line 16 def format_object(obj) Vagrant::Util::CredentialScrubber.desensitize(vagrant_format_object(obj)) end |
#vagrant_format_object ⇒ Object
15 |
# File 'lib/vagrant.rb', line 15 alias_method :vagrant_format_object, :format_object |