/** * @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(); }
protected function prepareTestPaths() { $this->testFilePath = \PunktDe\PtExtbase\Utility\Files::concatenatePaths(array(__DIR__, 'WorkingDirectory')); $this->loggerConfiguration = $this->objectManager->get('Tx_PtExtbase_Logger_LoggerConfiguration'); $this->logFilePath = $this->loggerConfiguration->getLogFilePath(); }