coderofsalvation / syslog-flexible
Minimal class to easily log messages to local syslog and/or papertrail and/or a remote syslog server
Fund package maintenance!
gumroad.com/l/hGYGh
dev-master
2020-05-28 19:26 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-12-25 10:37:08 UTC
README
Minimal class to easily log messages to local syslog and/or papertrail and/or a remote syslog server.Usage
$ composer require coderofsalvation/syslog
And then
<?
use coderofsalvation\Syslog;
SysLog::send( "this is a local test " );
SysLog::$hostname = "logs.papertrailapp.com";
SysLog::$port = 26987;
SysLog::send( "this is a local + papertrail test " );
SysLog::$local = false;
SysLog::send( "this is a papertrail test only" );
?>
License
BSD