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
Installs: 205
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 3
Forks: 3
Open Issues: 2
pkg:composer/coderofsalvation/syslog-flexible
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2025-10-01 14:15:24 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