getDispatcher()->log(new \common_log_Item($message, $level, time(), $stack, $context, $requestURI, $errorFile, $errorLine)); } /** * Returns the dispatcher * * @return Appender */ private function getDispatcher() { if (is_null($this->dispatcher)) { $this->dispatcher = new \common_log_Dispatcher($this->getOption(self::OPTION_APPENDERS)); } return $this->dispatcher; } }