class Faraday::Logging::Formatter
def request(env)
def request(env) request_log = proc do "#{env.method.upcase} #{apply_filters(env.url.to_s)}" end public_send(log_level, 'request', &request_log) log_headers('request', env.request_headers) if log_headers?(:request) log_body('request', env[:body]) if env[:body] && log_body?(:request) end