2017 © Pedro Peláez
 

library phpsyslog

Simple PSR-3 logger implementation that outputs to syslog

image

cxj/phpsyslog

Simple PSR-3 logger implementation that outputs to syslog

  • Thursday, January 14, 2016
  • by cxj
  • Repository
  • 1 Watchers
  • 0 Stars
  • 216 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 6 % Grown

The README.md

phpsyslog

A minimalist, simple PSR-3 logger implementation which logs to a POSIX syslog., (*1)

Installation

This class requires PHP 5.4 or later, but we recommend using the latest available version of PHP as a matter of principle. It has two dependencies, the FIG PSR-3 interface, linked above, and IcecaveStudios/isolater which is used to isolate global functions to make them more easily tested., (*2)

It is installable and autoloadable via Composer as cxj/phpsyslog from Packagist., (*3)

Alternatively, download a releasefrom GitHub, or clone this repository. Then require or include its autoload.php file., (*4)

Quality

This class attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request., (*5)

This package is unit tested using PHPUnit., (*6)

Usage

Example usage:, (*7)

alert("This is an alert level message.");    

// Not logged because lower level than default WARNING level set in constructor.
$logger->debug("This is a debug level message.");     

?>

Contributing

Pull requests are welcome!, (*8)

Requests which follow the PSR-1 and PSR-2 coding and style standards, and which have PHPUnit test coverage will get most attention., (*9)

The Versions

14/01 2016

dev-master

9999999-dev https://github.com/cxj/phpsyslog

Simple PSR-3 logger implementation that outputs to syslog

  Sources   Download

MIT

The Requires

 

psr-3 syslog

05/01 2016

v1.1.3

1.1.3.0 https://github.com/cxj/phpsyslog

Simple PSR-3 logger implementation that outputs to syslog

  Sources   Download

MIT

The Requires

 

psr-3 syslog

13/11 2015

v1.1.2

1.1.2.0 https://github.com/cxj/phpsyslog

Simple PSR-3 logger implementation that outputs to syslog

  Sources   Download

MIT

The Requires

 

psr-3 syslog

09/11 2015

v1.1.1

1.1.1.0 https://github.com/cxj/phpsyslog

Simple PSR-3 logger implementation that outputs to syslog

  Sources   Download

MIT

The Requires

 

psr-3 syslog

09/11 2015

v1.1.0

1.1.0.0 https://github.com/cxj/phpsyslog

Simple PSR-3 logger implementation that outputs to syslog

  Sources   Download

MIT

The Requires

 

psr-3 syslog

06/11 2015

v1.0

1.0.0.0 https://github.com/cxj/phpsyslog

Simple PSR-3 logger implementation that outputs to syslog

  Sources   Download

MIT

The Requires

 

psr-3 syslog