lukewaite/monolog-memory-usage-processor

v1.0.0 2018-01-05 10:59 UTC

This package is auto-updated.

Last update: 2021-12-29 03:04:09 UTC


README

Latest Version on Packagist Software License Build Status Total Downloads Code Coverage

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.