1. Go to this page and download the library: Download elmijo/php-error-log 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/ */
elmijo / php-error-log example snippets
$logger = new PHPTools\PHPErrorLog\PHPErrorLog();
$logger->write('probando...');
$logger->write('PHPErrorLog: probando... logs');
$logger->write('MiSistema: probando... logs\n\t\notra forma de hacer logs');