PHP code example of hungthai1401 / laravel-roadrunner-logger

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

    

hungthai1401 / laravel-roadrunner-logger example snippets


logger('rr')->info('This is an info message');

use Illuminate\Support\Facades\Log;

Log::channel('rr')->error('An error occurred');