An open API service indexing awesome lists of open source software.

https://github.com/graze/monolog-extensions

Additional handlers, formatters and processors for use with Monolog
https://github.com/graze/monolog-extensions

monolog php

Last synced: 5 months ago
JSON representation

Additional handlers, formatters and processors for use with Monolog

Awesome Lists containing this project

README

          

# Monolog Extensions #

[![Latest Version on Packagist](https://img.shields.io/packagist/v/graze/monolog-extensions.svg?style=flat-square)](https://packagist.org/packages/graze/monolog-extensions)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/graze/monolog-extensions/master.svg?style=flat-square)](https://travis-ci.org/graze/monolog-extensions)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/graze/monolog-extensions.svg?style=flat-square)](https://scrutinizer-ci.com/g/graze/monolog-extensions/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/graze/monolog-extensions.svg?style=flat-square)](https://scrutinizer-ci.com/g/graze/monolog-extensions)
[![Total Downloads](https://img.shields.io/packagist/dt/graze/monolog-extensions.svg?style=flat-square)](https://packagist.org/packages/graze/monolog-extensions)
[![PHP 5.6](http://img.shields.io/badge/php-^5.6-8892BF.svg?style=flat-square)][php]
[![PHP 7.0](http://img.shields.io/badge/php-^7.0-8892BF.svg?style=flat-square)][php]

[php]: https://php.net/

This library supplies additional log handlers, formatters and processors for use with [Monolog][monolog].
The intention is to make use of the library internally with the aim to eventually submit relevant parts to Monolog
core.

It can be installed in whichever way you prefer, but we recommend [Composer][packagist].

```bash
$ composer require graze/monolog-extensions
```

### ErrorHandlerBuilder usage
```php
setName('project-name')
->addHandler(/**$handler**/);

$builder->buildAndRegister();
```

### RaygunHandler Usage
```php

[travis]: https://travis-ci.org/graze/MonologExtensions
[travis-master]: https://travis-ci.org/graze/MonologExtensions.png?branch=master
[monolog]: https://github.com/Seldaek/monolog
[packagist]: https://packagist.org/packages/graze/monolog-extensions
[license]: /LICENSE