You are here

public function ServicesClientConnectionException::log in Services Client 7.2

Same name and namespace in other branches
  1. 7 services_client_connection/include/exception.inc \ServicesClientConnectionException::log()

Save exception to log

Parameters

$severity: Watchdog severity default set to ERROR

File

services_client_connection/include/exception.inc, line 16
Custom exception definitions

Class

ServicesClientConnectionException
@file Custom exception definitions

Code

public function log($severity = WATCHDOG_ERROR) {
  watchdog('scc', check_plain($this
    ->getMessage()), array(), $severity);
}