def logging_request_encoder(method, **params):
    encoded = default_request_encoder(method, **params)
    
    print("--- Request (%r, %r) ---" % (method, params), file=sys.stderr)
    print(encoded, file=sys.stderr)
    
    return encoded
dataset/ETHPy150Open freshbooks/refreshbooks/refreshbooks/api.py/logging_request_encoder/original