php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
gd_errors.h
Go to the documentation of this file.
1#ifndef GD_ERRORS_H
2#define GD_ERRORS_H
3
4#ifndef _WIN32
5# include <syslog.h>
6#else
7# include "win32/syslog.h"
8#endif
9
10/*
11LOG_EMERG system is unusable
12LOG_ALERT action must be taken immediately
13LOG_CRIT critical conditions
14LOG_ERR error conditions
15LOG_WARNING warning conditions
16LOG_NOTICE normal, but significant, condition
17LOG_INFO informational message
18LOG_DEBUG debug-level message
19*/
20
21#define GD_ERROR LOG_ERR
22#define GD_WARNING LOG_WARNING
23#define GD_NOTICE LOG_NOTICE
24#define GD_INFO LOG_INFO
25#define GD_DEBUG LOG_DEBUG
26
27void gd_error(const char *format, ...);
28void gd_error_ex(int priority, const char *format, ...);
29
30#endif
void gd_error(const char *format,...)
Definition gd.c:103
void gd_error_ex(int priority, const char *format,...)
Definition gd.c:111