You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Monolog ships with a set of [processors](https://github.com/Seldaek/monolog/tree/master/src/Monolog/Processor), these will generate additional data and populate the 'extra' field.
238
+
239
+
You could also create your own custom processor, make sure they implement [Monolog\Processor\ProcessorInterface](https://github.com/Seldaek/monolog/blob/master/src/Monolog/Processor/ProcessorInterface.php).
240
+
241
+
##### Example of custom processor
242
+
```php
243
+
<?php
244
+
245
+
namespace App\CustomProcessors;
246
+
247
+
use Monolog\Processor\ProcessorInterface;
248
+
249
+
class PhpVersionProcessor implements ProcessorInterface {
0 commit comments