ZP-560 Move zsyslog.php to include. Released under the Affero GNU General...

ZP-560 Move zsyslog.php to include. Released under the Affero GNU General Public License (AGPL) version 3.
parent 6064eedf
<?php <?php
// local, remote and papertrail compatible syslogclass /**
// https://gist.github.com/coderofsalvation/11325307 * A class for sending log messages to syslog
*
* Based on https://gist.github.com/coderofsalvation/11325307 by Coder of Salvation / Leon van Kammen
*
* Author - Leon van Kammen
* Modifications - Francisco Miguel Biete
* License ??
**/
class ZSyslog { class ZSyslog {
......
...@@ -63,7 +63,7 @@ include_once('lib/core/asdevice.php'); ...@@ -63,7 +63,7 @@ include_once('lib/core/asdevice.php');
include_once('lib/core/statemanager.php'); include_once('lib/core/statemanager.php');
include_once('lib/core/devicemanager.php'); include_once('lib/core/devicemanager.php');
include_once('lib/core/zpush.php'); include_once('lib/core/zpush.php');
include_once('lib/core/zsyslog.php'); include_once('include/z_syslog.php');
include_once('lib/core/zlog.php'); include_once('lib/core/zlog.php');
include_once('lib/core/paddingfilter.php'); include_once('lib/core/paddingfilter.php');
include_once('lib/interface/ibackend.php'); include_once('lib/interface/ibackend.php');
...@@ -294,4 +294,4 @@ include_once('version.php'); ...@@ -294,4 +294,4 @@ include_once('version.php');
// end gracefully // end gracefully
ZLog::Write(LOGLEVEL_DEBUG, '-------- End'); ZLog::Write(LOGLEVEL_DEBUG, '-------- End');
?> ?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment