TYPO3 CMS  TYPO3_6-2
MemoryUsageProcessorTest.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\MemoryUsageProcessor();
30  $logRecord = $processor->processLogRecord($logRecord);
31  $this->assertArrayHasKey('memoryUsage', $logRecord['data']);
32  }
33 
34 }