add stderr example

This commit is contained in:
Taylor Otwell 2018-03-14 14:17:27 -05:00
parent 4369e9144c
commit 66f5757d58
1 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,7 @@
<?php
use Monolog\Handler\StreamHandler;
return [
/*
@ -56,6 +58,14 @@
'level' => 'critical',
],
'stderr' => [
'driver' => 'monolog',
'handler' => StreamHandler::class,
'with' => [
'stream' => 'php://stderr',
],
],
'syslog' => [
'driver' => 'syslog',
'level' => 'debug',