lukewaite / monolog-memory-usage-processor
Installs: 18 409
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- monolog/monolog: ^1.9.0
Requires (Dev)
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-10-29 05:10:24 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.