summaryrefslogtreecommitdiff
path: root/main/php_syslog.h
diff options
context:
space:
mode:
authorErik Lundin <erik@coretech.se>2019-06-15 09:31:16 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-06-17 13:13:25 +0200
commit9f0515c40c85d9c22cf46f7c42338354c398e4a7 (patch)
tree8276aa2ec103caa3d55b5a8225872b83dad6b7c9 /main/php_syslog.h
parent96a6f7f7f572875e0d18de21f5f67429d1ffe099 (diff)
downloadphp-git-9f0515c40c85d9c22cf46f7c42338354c398e4a7.tar.gz
Add syslog.filter=raw
This passes through syslog message unchanged, without splitting messages at newlines.
Diffstat (limited to 'main/php_syslog.h')
-rw-r--r--main/php_syslog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/php_syslog.h b/main/php_syslog.h
index dee0e5aaa3..401f498194 100644
--- a/main/php_syslog.h
+++ b/main/php_syslog.h
@@ -34,6 +34,7 @@
#define PHP_SYSLOG_FILTER_ALL 0
#define PHP_SYSLOG_FILTER_NO_CTRL 1
#define PHP_SYSLOG_FILTER_ASCII 2
+#define PHP_SYSLOG_FILTER_RAW 3
BEGIN_EXTERN_C()
PHPAPI void php_syslog(int, const char *format, ...);