2015-09-12 84 views

回答

0

好吧,我找到了我自己的答案。

在FacebookAds /記錄器/ NullLogger.php,改變這兩個函數:

公共函數logRequest( $水平,RequestInterface $請求,數組$上下文=陣列()){

echo "[REQUEST]<BR /><pre>".print_r($request->getUrl(), true)."</pre><br /><pre>".print_r($request->getBodyParams(), true)."</pre><br />[/REQUEST]<br /><br />"; 

}

公共函數logResponse( $水平,ResponseInterface $響應,數組$上下文=陣列()){

echo "[RESPONSE]<br /><pre>".print_r($response->getContent(), true)."</pre><br /><pre>[/RESPONSE]</pre><br /><br />"; 

}

相關問題