mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
fix php_log_err macro
This commit is contained in:
@@ -280,7 +280,12 @@ PHPAPI size_t php_write(void *buf, size_t size);
|
||||
PHPAPI size_t php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1,
|
||||
2);
|
||||
PHPAPI int php_get_module_initialized(void);
|
||||
#ifdef HAVE_SYSLOG_H
|
||||
#include "php_syslog.h"
|
||||
#define php_log_err(msg) php_log_err_with_severity(msg, LOG_NOTICE)
|
||||
#else
|
||||
#define php_log_err(msg) php_log_err_with_severity(msg, 5)
|
||||
#endif
|
||||
PHPAPI ZEND_COLD void php_log_err_with_severity(char *log_message, int syslog_type_int);
|
||||
int Debug(char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2);
|
||||
int cfgparse(void);
|
||||
|
||||
Reference in New Issue
Block a user