Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coderofsalvation/syslog-flexible
Minimal PHP class to easily log messages to local syslog and/or papertrail and/or a remote syslog server
https://github.com/coderofsalvation/syslog-flexible
Last synced: 12 days ago
JSON representation
Minimal PHP class to easily log messages to local syslog and/or papertrail and/or a remote syslog server
- Host: GitHub
- URL: https://github.com/coderofsalvation/syslog-flexible
- Owner: coderofsalvation
- License: bsd-3-clause
- Created: 2015-08-21T16:36:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-28T19:26:43.000Z (over 4 years ago)
- Last Synced: 2024-05-04T06:22:00.268Z (6 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
SysLog-Flexible
===============
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