\Monolog\ProcessorMemoryPeakUsageProcessor

Injects memory_get_peak_usage in all records

Summary

Methods
Properties
Constants
__construct()
__invoke()
No public properties found
No constants found
formatBytes()
$realUsage
N/A
No private methods found
No private properties found
N/A

Properties

$realUsage

$realUsage : 

Type

Methods

__construct()

__construct(boolean  $realUsage = true) 

Parameters

boolean $realUsage

__invoke()

__invoke(array  $record) : array

Parameters

array $record

Returns

array

formatBytes()

formatBytes(integer  $bytes) : string

Formats bytes into a human readable string

Parameters

integer $bytes

Returns

string