PHP code example of enesekinci / php-basic-logger
1. Go to this page and download the library: Download enesekinci/php-basic-logger 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/ */
enesekinci / php-basic-logger example snippets
nesEkinci\PhpBasicLogger\Log;
$dir = __DIR__;
$log_path = $dir . '/Storage/logs/';
Log::setPath($log_path);
Log::add('Test');