https://github.com/bloatless/monopile
Monolog handler and formatter for Pile.
https://github.com/bloatless/monopile
Last synced: 3 months ago
JSON representation
Monolog handler and formatter for Pile.
- Host: GitHub
- URL: https://github.com/bloatless/monopile
- Owner: bloatless
- License: mit
- Created: 2019-11-06T12:58:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T06:11:07.000Z (about 3 years ago)
- Last Synced: 2025-10-04T21:32:04.870Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MonoPile
A [Monolog](http://github.com/Seldaek/monolog) handler (and formatter) for Pile.
## Installation
You can install this library using composer:
```
php composer.phar require bloatless/mono-pile
```
## Usage
```php
setFormatter($formatter);
// Push handler into Monolog
$logger->pushHandler($handler);
// Log your errors
$logger->debug('Some debug message...');
```
Of course you can also use the Pile handler in frameworks using Monolog as their internal error logging
solution - like Laravel oder Lumen.
## License
MIT