PHP code example of vados / phalcon-tcplogger

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

    

vados / phalcon-tcplogger example snippets


$logger = new \Vados\TCPLogger\Adapter('127.0.0.1', 8080, \Vados\TCPLogger\Protocol::TCP);
$logger->error('Error message');