/** * @param \TYPO3\Flow\Log\SystemLoggerInterface $systemLogger * @return void */ public function injectSystemLogger(\TYPO3\Flow\Log\SystemLoggerInterface $systemLogger) { if ($this->systemLogger instanceof \TYPO3\Flow\Log\EarlyLogger) { $this->systemLogger->replayLogsOn($systemLogger); unset($this->systemLogger); } $this->systemLogger = $systemLogger; }