lukewaite / monolog-memory-usage-processor
Package info
github.com/lukewaite/monolog-memory-usage-processor
pkg:composer/lukewaite/monolog-memory-usage-processor
v1.0.0
2018-01-05 10:59 UTC
Requires
- monolog/monolog: ^1.9.0
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2026-03-01 00:24:26 UTC
README
Usage
Installing
This package can be installed with composer.
$ composer require lukewaite/monolog-memory-usage-processor
Using the Processor
$memoryUsage = new MemoryUsageProcessor( true ); // Human formatted
$memoryUsage = new MemoryUsageProcessor( false ); // Not human formatted
What is this package for?
The Memory Usage processors provided by the base Monolog package only give you the option to
log with real_usage set to true or false. I have a need for both.