PHP code example of rdisme / xylog

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

    

rdisme / xylog example snippets




disme\Xylog\Log;


$config = array(
    'api_url' => 'localhost/',
    'app_id' => '223fesdf'
);

$log = new Log($config);
$log->set_uid('222')->set_uid_t(2)->set_lid(333)->log();