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

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.

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