TYPO3  7.6
Public Member Functions | List of all members
MemoryPeakUsageProcessor Class Reference
Inheritance diagram for MemoryPeakUsageProcessor:
AbstractMemoryProcessor AbstractProcessor ProcessorInterface

Public Member Functions

 processLogRecord (\TYPO3\CMS\Core\Log\LogRecord $logRecord)
 
- Public Member Functions inherited from AbstractMemoryProcessor
 setRealMemoryUsage ($realMemoryUsage)
 
 getRealMemoryUsage ()
 
 setFormatSize ($formatSize)
 
 getFormatSize ()
 
- Public Member Functions inherited from AbstractProcessor
 __construct (array $options=array())
 

Additional Inherited Members

- Protected Attributes inherited from AbstractMemoryProcessor
 $realMemoryUsage = true
 
 $formatSize = true
 

Detailed Description

Memory peak usage processor methods.

Definition at line 20 of file MemoryPeakUsageProcessor.php.

Member Function Documentation

processLogRecord ( \TYPO3\CMS\Core\Log\LogRecord  $logRecord)

Processes a log record and adds memory peak usage information.

Parameters
\TYPO3\CMS\Core\Log\LogRecord$logRecordThe log record to process
Returns
The processed log record with additional data
See Also
memory_get_peak_usage()

Implements ProcessorInterface.

Definition at line 29 of file MemoryPeakUsageProcessor.php.

References AbstractMemoryProcessor\getRealMemoryUsage().