PHP code example of phpgenesis / logger
1. Go to this page and download the library: Download phpgenesis/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/ */
phpgenesis / logger example snippets
use PHPGenesis\Logger\Logger;
$message = 'This is an example logger message';
Logger::debug($message);
Logger::info($message);
Logger::notice($message);
Logger::warning($message);
Logger::error($message);
Logger::critical($message);
Logger::alert($message);
Logger::emergency($message);