2017 © Pedro Peláez
 

library monolog-helpers

Adds Some Common Utility Helpers To Monolog

image

twistersfury/monolog-helpers

Adds Some Common Utility Helpers To Monolog

  • Monday, April 2, 2018
  • by Fenikkusu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 395 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 10 % Grown

The README.md

Monolog Helpers

This repo contains various helpers for use with monolog. For use with PHP 7.0 and Monolog 2.0., (*1)

Build Status, (*2)

Processors

GlobalsProcessor

Creates a new record entry of 'php_globals'. This record will include all (or specified) $_ global variables in the current execution. Useful for debugging., (*3)

All Globals, (*4)

use TwistersFury\Monolog\Processors\GlobalsProcessor;
$processor = new GlobalsProcessor();

Specified Globals, (*5)

use TwistersFury\Monolog\Processors\GlobalsProcessor;
$processor = new GlobalsProcessor(
    [
        'post'    => true,
        'get'     => false,
        'request' => false,
        'server'  => true
    ]
);

BacktraceProcessor

Creates a new record entry of 'trace'. This record will include the stack trace. It will automatically exclude the most recent entries to ensure you don't get additional useless stack information. This exclusion is controllable on the construct., (*6)

Without Skip, (*7)

use TwistersFury\Monolog\Processors\BacktraceProcessor;

$processor = new BacktraceProcessor();

With Skip, (*8)

use TwistersFury\Monolog\Processors\BacktraceProcessor;

//The five most recent stacks will be ignored.
$processor = new BacktraceProcessor(5);

The Versions

02/04 2018

dev-master

9999999-dev

Adds Some Common Utility Helpers To Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

monolog helper post globals

02/04 2018

v1.0.5

1.0.5.0

Adds Some Common Utility Helpers To Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

monolog helper post globals

13/09 2017

v1.0.4

1.0.4.0

Adds Some Common Utility Helpers To Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

monolog helper post globals

12/09 2017

v1.0.3

1.0.3.0

Adds Some Common Utility Helpers To Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

monolog helper post globals

12/09 2017

v1.0.2

1.0.2.0

Adds Some Common Utility Helpers To Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

monolog helper post globals

12/09 2017

v1.0.1

1.0.1.0

Adds Some Common Utility Helpers To Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

monolog helper post globals

12/09 2017

v1.0.0

1.0.0.0

Adds Some Common Utility Helpers To Monolog

  Sources   Download

MIT

The Requires

 

The Development Requires

monolog helper post globals