lib/vmdb/loggers.rb
# To be used as Excon's request logger, the logger must respond to
#   #instrument as in ActiveSupport::Notifications.
#   Implementation derived from Excon::StandardInstrumentor
To be used as Excon's request logger, the logger must respond to
instrument as in ActiveSupport::Notifications.
Implementation derived from Excon::StandardInstrumentor
To be used as Excon ' s request logger the logger must respond to instrument as in ActiveSupport :: Notifications . Implementation derived from Excon :: StandardInstrumentor
def log_params(params)
        sanitized = sanitize_params(params)
        sanitized[:body] = parse_body(sanitized[:body])
        "\n#{sanitized.pretty_inspect}"
      end
def log_params ( params ) sanitized = sanitize_params ( params ) sanitized [ :body ] = parse_body ( sanitized [ :body ] ) "\n#{sanitized.pretty_inspect}" end
To be used as Excon's request logger, the logger must respond to
instrument as in ActiveSupport::Notifications.
To be used as Excon ' s request logger the logger must respond to instrument as in ActiveSupport :: Notifications .
params