summaryrefslogtreecommitdiffstats
path: root/src/Monolog/Processor/MemoryProcessor.php
diff options
context:
space:
mode:
authorHennadiy Verkh <h.verkh@traveltrex.com>2014-03-24 10:55:35 +0100
committerHennadiy Verkh <h.verkh@traveltrex.com>2014-03-24 10:55:35 +0100
commit3fe02f7c218603f1799eec57b5b27afefe76b7fb (patch)
tree00911a54dd9c4984eb4e2a2c652562c75567fb64 /src/Monolog/Processor/MemoryProcessor.php
parent36f3d0e52f48777cdd2618d71749c923e1a4e530 (diff)
downloadmonolog-3fe02f7c218603f1799eec57b5b27afefe76b7fb.zip
monolog-3fe02f7c218603f1799eec57b5b27afefe76b7fb.tar.gz
monolog-3fe02f7c218603f1799eec57b5b27afefe76b7fb.tar.bz2
Added comments
Diffstat (limited to 'src/Monolog/Processor/MemoryProcessor.php')
-rw-r--r--src/Monolog/Processor/MemoryProcessor.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Monolog/Processor/MemoryProcessor.php b/src/Monolog/Processor/MemoryProcessor.php
index 9058b57..3f08d6e 100644
--- a/src/Monolog/Processor/MemoryProcessor.php
+++ b/src/Monolog/Processor/MemoryProcessor.php
@@ -19,11 +19,13 @@ namespace Monolog\Processor;
abstract class MemoryProcessor
{
/**
- * @var boolean Set this to true to get the real size of memory allocated from system.
- * If not set or false only the memory used by emalloc() is reported.
+ * @var boolean If true, get the real size of memory allocated from system. Else, only the memory used by emalloc() is reported.
*/
protected $realUsage;
+ /**
+ * @var boolean If true, then format memory size to human readable string (MB, KB, B depending on size)
+ */
protected $useFormatting;
/**