TYPO3 CMS  TYPO3_6-2
MemoryPeakUsageProcessorTest.php
Go to the documentation of this file.
1 <?php
3 
23 
28  $logRecord = new \TYPO3\CMS\Core\Log\LogRecord('test.core.log', \TYPO3\CMS\Core\Log\LogLevel::DEBUG, 'test');
29  $processor = new \TYPO3\CMS\Core\Log\Processor\MemoryPeakUsageProcessor();
30  $logRecord = $processor->processLogRecord($logRecord);
31  $this->assertArrayHasKey('memoryPeakUsage', $logRecord['data']);
32  }
33 
34 }