You are here

public function UCXF_Exception::logError in Extra Fields Checkout Pane 7

Same name and namespace in other branches
  1. 6.2 class/Exceptions.inc \UCXF_Exception::logError()

Logs error in watchdog

File

class/Exceptions.inc, line 23
Exception classes for Extra Fields Pane

Class

UCXF_Exception
UCXF_Exception class.

Code

public function logError($severity = WATCHDOG_ERROR) {
  watchdog('ucxf', $this
    ->getMessage(), array(), $severity);
}