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
- Host: GitHub
- URL: https://github.com/graze/monolog-extensions
- Owner: graze
- License: mit
- Created: 2013-10-10T14:30:28.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2021-03-24T16:03:46.000Z (over 4 years ago)
- Last Synced: 2025-04-18T00:45:01.798Z (6 months ago)
- Topics: monolog, php
- Language: PHP
- Homepage: https://github.com/Seldaek/monolog
- Size: 139 KB
- Stars: 2
- Watchers: 16
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Monolog Extensions #
[](https://packagist.org/packages/graze/monolog-extensions)
[](LICENSE.md)
[](https://travis-ci.org/graze/monolog-extensions)
[](https://scrutinizer-ci.com/g/graze/monolog-extensions/code-structure)
[](https://scrutinizer-ci.com/g/graze/monolog-extensions)
[](https://packagist.org/packages/graze/monolog-extensions)
[][php]
[][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