10 defined(
'JPATH_PLATFORM') or die;
37 public function __construct(array &$options)
40 parent::__construct($options);
43 if (isset($this->options[
'callback']) && is_callable($this->options[
'callback']))
45 $this->callback = $this->options[
'callback'];
49 throw new JLogException(
JText::_(
'JLogLoggerCallback created without valid callback function.'));
66 call_user_func($this->callback, $entry);