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