Пример #1
0
 /**
  * @param \Exception|\Throwable $exception
  * @return string
  */
 protected function logBluescreen($exception)
 {
     $fileName = $this->tracyLogger->getExceptionFile($exception);
     if (!isset($this->processedExceptionFileNames[$fileName])) {
         $this->tracyLogger->logException($exception, $fileName);
         $this->processedExceptionFileNames[$fileName] = TRUE;
     }
     return ltrim(strrchr($fileName, DIRECTORY_SEPARATOR), DIRECTORY_SEPARATOR);
 }
Пример #2
0
 /**
  * @return string
  */
 public function logException($exception, $file = NULL)
 {
     return parent::logException($exception, $file);
 }