|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Some methods that are common for all memory processors. More...
Inheritance diagram for Monolog\Processor\MemoryProcessor:
Collaboration diagram for Monolog\Processor\MemoryProcessor:Public Member Functions | |
| __construct ($realUsage=true, $useFormatting=true) | |
Protected Member Functions | |
| formatBytes ($bytes) | |
| Formats bytes into a human readable string if $this->useFormatting is true, otherwise return $bytes as is. More... | |
Protected Attributes | |
| $realUsage | |
| $useFormatting | |
Some methods that are common for all memory processors.
Definition at line 19 of file MemoryProcessor.php.
| Monolog\Processor\MemoryProcessor::__construct | ( | $realUsage = true, |
|
$useFormatting = true |
|||
| ) |
| bool | $realUsage | Set this to true to get the real size of memory allocated from system. |
| bool | $useFormatting | If true, then format memory size to human readable string (MB, KB, B depending on size) |
Definition at line 35 of file MemoryProcessor.php.
References Monolog\Processor\MemoryProcessor\$realUsage, and Monolog\Processor\MemoryProcessor\$useFormatting.
|
protected |
Formats bytes into a human readable string if $this->useFormatting is true, otherwise return $bytes as is.
| int | $bytes |
Definition at line 47 of file MemoryProcessor.php.
Referenced by Monolog\Processor\MemoryPeakUsageProcessor\__invoke(), and Monolog\Processor\MemoryUsageProcessor\__invoke().
Here is the caller graph for this function:
|
protected |
Definition at line 24 of file MemoryProcessor.php.
Referenced by Monolog\Processor\MemoryProcessor\__construct().
|
protected |
Definition at line 29 of file MemoryProcessor.php.
Referenced by Monolog\Processor\MemoryProcessor\__construct().