protected function prepareTestPaths() { $this->testFilePath = \PunktDe\PtExtbase\Utility\Files::concatenatePaths(array(__DIR__, 'WorkingDirectory')); $this->loggerConfiguration = $this->objectManager->get(\PunktDe\PtExtbase\Logger\LoggerConfiguration::class); $this->logFilePath = $this->loggerConfiguration->getLogFilePath(); }
/** * @param string $logFilePath * @param string $exceptionDirectory * @return void */ public function configureLogger($logFilePath = '', $exceptionDirectory = '') { $this->logFilePath = empty($logFilePath) ? $this->loggerConfiguration->getLogFilePath() : $logFilePath; $this->exceptionDirectory = empty($exceptionDirectory) ? $this->loggerConfiguration->getExceptionDirectory() : $exceptionDirectory; $this->configureLoggerProperties(); }