Skip to content

ScaryDonetskiy/Phalcon-TCP-UDP-Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP/UDP Logger Adapter for Phalcon PHP

Packagist PHP from Packagist Packagist Bitbucket issues Scrutinizer Code Quality Travis CI Status

Works with PHP 7.1+

Usage

Adapter implement \Phalcon\Logger\AdapterInterface. You can use it like an any other adapter from Phalcon Framework

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

Example

You can find examples of usage in official documentation for Phalcon

Installation

Use composer for installation

composer require vados/phalcon-tcplogger

Contribution guidelines

  • Writing tests
  • Code review
  • Guidelines accord