Go to the source code of this file.
Typedef Documentation
Function Documentation
The explain_output_syslog_new function may be used to create a new dynamically allocated instance of an explain_output_t class that writes to syslog, and exits via exit(2);
The following values are used:
option = 0
facility = LOG_USER
level = LOG_ERR
See syslog(3) for more information.
- Returns:
- NULL on error (i.e. malloc failed), or a pointer to a new dynamically allocated instance of the syslog class.
Definition at line 93 of file syslog.c.
The explain_output_syslog_new1 function may be used to create a new dynamically allocated instance of an explain_output_t class that writes to syslog, and exits via exit(2);
The following values are used:
option = 0
facility = LOG_USER
See syslog(3) for more information.
- Parameters:
-
level | The syslog level to be used, see syslog(3) for a definition. |
- Returns:
- NULL on error (i.e. malloc failed), or a pointer to a new dynamically allocated instance of the syslog class.
Definition at line 101 of file syslog.c.
The explain_output_syslog_new3 function may be used to create a new dynamically allocated instance of an explain_output_t class that writes to syslog, and exits via exit(2);
If you want different facilities or levels, create multiple instances.
- Parameters:
-
option | The syslog option to be used, see syslog(3) for a definition. |
facility | The syslog facility to be used, see syslog(3) for a definition. |
level | The syslog level to be used, see syslog(3) for a definition. |
- Returns:
- NULL on error (i.e. malloc failed), or a pointer to a new dynamically allocated instance of the syslog class.
Definition at line 110 of file syslog.c.
Variable Documentation
Initial value:
Definition at line 83 of file syslog.c.