PHP code example of bluetree-service / simple-log

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

    

bluetree-service / simple-log example snippets


LogStatic::makeLog('Some log message');

LogStatic::setOption('log_path', '/var/log/simple-log');

LogStatic::log('error', 'Some log message');