Created
July 16, 2020 22:05
-
-
Save josemiguelq/c373aa614e2b72e3838275a0466497cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return [ | |
'default' => env('LOG_CHANNEL', 'stack'), | |
'channels' => [ | |
'stack' => [ | |
'driver' => 'stack', | |
'channels' => ['single'], | |
], | |
'single' => [ | |
'driver' => 'single', | |
'tap' => [\App\Logging\CustomLogger::class], | |
// Sending logs to stdout | |
'path' => 'php://stdout', | |
'level' => 'debug', | |
] | |
], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment