From 66f5757d58cb3f6d1152ec2d5f12e247eb2242e2 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 14 Mar 2018 14:17:27 -0500 Subject: [PATCH] add stderr example --- config/logging.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/logging.php b/config/logging.php index 902efafb..bf075861 100644 --- a/config/logging.php +++ b/config/logging.php @@ -1,5 +1,7 @@ 'critical', ], + 'stderr' => [ + 'driver' => 'monolog', + 'handler' => StreamHandler::class, + 'with' => [ + 'stream' => 'php://stderr', + ], + ], + 'syslog' => [ 'driver' => 'syslog', 'level' => 'debug',