PHP code example of veasin / nx-log

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

    

veasin / nx-log example snippets


use \nx\parts\log\file;
use \nx\parts\log\dump;
class app extends \nx\app{
    use file,dump;
    public $log_dump_name='dump';
}

$this->log($any);
$this->log->warning($any)