26 $this->assertArrayHasKey(
'memory_peak_usage', $record[
'extra']);
27 $this->assertRegExp(
'#[0-9.]+ (M|K)?B$#', $record[
'extra'][
'memory_peak_usage']);
38 $this->assertArrayHasKey(
'memory_peak_usage', $record[
'extra']);
39 $this->assertInternalType(
'int', $record[
'extra'][
'memory_peak_usage']);
40 $this->assertGreaterThan(0, $record[
'extra'][
'memory_peak_usage']);
testProcessorWithoutFormatting()
Monolog::__invoke Monolog::formatBytes
getRecord($level=Logger::WARNING, $message='test', $context=array())
Injects memory_get_peak_usage in all records.
testProcessor()
Monolog::__invoke Monolog::formatBytes