PHP code example of iulianmironica / klogger

1. Go to this page and download the library: Download iulianmironica/klogger 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/ */

    

iulianmironica / klogger example snippets

 php

use IulianMironica\KLogger\Logger;

// These are in order of highest priority to lowest.
\Logger::EMERGENCY;
\Logger::ALERT;
\Logger::CRITICAL;
\Logger::WARNING;
\Logger::NOTICE;
\Logger::INFO;
\Logger::DEBUG;