class Faraday::Logging::Formatter
def response(env)
def response(env) status = proc { "Status #{env.status}" } public_send(log_level, 'response', &status) log_headers('response', env.response_headers) if log_headers?(:response) log_body('response', env[:body]) if env[:body] && log_body?(:response) end