protected function EventHandler::log in Services Client 7.2
Log messages to Drupal watchdog.
Parameters
int $level: Log level. @see ServicesClientLogLevel
string $message: Message that should be logged.
array $data: Watchdog data param.
int $severity: Watchdog severity param.
7 calls to EventHandler::log()
- EntityDeleteHandler::execute in include/
event.inc - Execute event and send event to remove endpoint.
- EntitySaveHandler::execute in include/
event.inc - Execute event and send event to remove endpoint.
- EntitySaveHandler::getMappedObject in include/
event.inc - Retrieve object that should be send to remote site.
- EventHandler::enqueue in include/
event.inc - Enqueue item if should be queue.
- EventHandler::getRemoteEntityId in include/
event.inc - Retrieve remote entity ID.
File
- include/
event.inc, line 698
Class
- EventHandler
- Event handler plugin.
Code
protected function log($level, $message, $data, $severity = WATCHDOG_NOTICE) {
if ($level && $level <= $this->config['debug']) {
watchdog('services_client', $message, $data, $severity);
}
}