‪TYPO3CMS  10.4
WebProcessor.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
20 
26 {
35  public function ‪processLogRecord(‪LogRecord $logRecord)
36  {
37  $logRecord->‪addData(GeneralUtility::getIndpEnv('_ARRAY'));
38  return $logRecord;
39  }
40 }
‪TYPO3\CMS\Core\Log\Processor
Definition: AbstractMemoryProcessor.php:16
‪TYPO3\CMS\Core\Log\LogRecord
Definition: LogRecord.php:22
‪TYPO3\CMS\Core\Log\Processor\WebProcessor
Definition: WebProcessor.php:26
‪TYPO3\CMS\Core\Log\Processor\AbstractProcessor
Definition: AbstractProcessor.php:24
‪TYPO3\CMS\Core\Log\LogRecord\addData
‪LogRecord addData(array $data)
Definition: LogRecord.php:199
‪TYPO3\CMS\Core\Utility\GeneralUtility
Definition: GeneralUtility.php:46
‪TYPO3\CMS\Core\Log\Processor\WebProcessor\processLogRecord
‪TYPO3 CMS Core Log LogRecord processLogRecord(LogRecord $logRecord)
Definition: WebProcessor.php:35