1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Merge pull request #594 from nike-17/patch-2

Update MemoryPeakUsageProcessor.php
This commit is contained in:
Jordi Boggiano
2015-06-30 12:34:34 +01:00

View File

@@ -28,12 +28,7 @@ class MemoryPeakUsageProcessor extends MemoryProcessor
$bytes = memory_get_peak_usage($this->realUsage);
$formatted = $this->formatBytes($bytes);
$record['extra'] = array_merge(
$record['extra'],
array(
'memory_peak_usage' => $formatted,
)
);
$record['extra']['memory_peak_usage'] = $formatted;
return $record;
}