You are here

protected function ServicesClientConnection::debug in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/include/connection.inc \ServicesClientConnection::debug()

Debug last request and response

1 call to ServicesClientConnection::debug()
ServicesClientConnection::processRequest in services_client_connection/include/connection.inc
Process HTTP Request. This method will fire all hooks on different plugins which will create final request. Final request is sent to Request plugin.

File

services_client_connection/include/connection.inc, line 172
Main services client connection class which exposes simple API

Class

ServicesClientConnection
@file Main services client connection class which exposes simple API

Code

protected function debug() {
  if ($this->connection->debug) {
    watchdog('scc_debug', 'DEBUG: <pre>!data</pre>', array(
      '!data' => print_r($this
        ->getDebug(), TRUE),
    ));
  }
}