コード例 #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
ファイル: TracyLoggerOld.php プロジェクト: pepakriz/Monolog
 /**
  * @return string
  */
 public function getExceptionFile(\Exception $exception)
 {
     return parent::getExceptionFile($exception);
 }