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