mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Added backwards compability with php_log_err by using macro
This commit is contained in:
parent
3edf7d960c
commit
0a04f61448
3 changed files with 6 additions and 5 deletions
|
@ -280,7 +280,8 @@ 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);
|
||||
PHPAPI ZEND_COLD void php_log_err(char *log_message, int syslog_type_int);
|
||||
#define php_log_err(msg) php_log_err_with_serevity(msg, LOG_NOTICE)
|
||||
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);
|
||||
END_EXTERN_C()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue