PHP code example of final-gene / monolog-module
1. Go to this page and download the library: Download final-gene/monolog-module 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/ */
final-gene / monolog-module example snippets
return [
'monolog' => [
// Error handler
'error_handler' => 'DefaultLogger',
// Loggers
'loggers' => [
'DefaultLogger' => [
'handlers' => [
[
'class' => Monolog\Handler\NullHandler::class,
'params' => [
'level' => Monolog\Logger::DEBUG
]
]
]
]
]
]
];