vados/phalcon-tcplogger

TCP Adapter for Phalcon Logger

0.1 2019-02-22 18:57 UTC

This package is auto-updated.

Last update: 2024-04-25 06:16:59 UTC


README

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