PHP code example of wendy / monolog-aliyunlog
1. Go to this page and download the library: Download wendy/monolog-aliyunlog library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wendy / monolog-aliyunlog example snippets
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['aliyunlog'],
'ignore_exceptions' => false,
],
'aliyunlog' => [
'driver' => 'custom',
'via' => AliyunLogger::class
],
],