Go to the source code of this file.
Defines |
#define | ATTR_NORET |
#define | debug(msg,...) report(report_debug, msg, ##__VA_ARGS__) |
#define | info(msg,...) report(report_info, msg, ##__VA_ARGS__) |
#define | warning(msg,...) report(report_warning, msg, ##__VA_ARGS__) |
#define | error(msg,...) report(report_error, msg, ##__VA_ARGS__) |
Enumerations |
enum | report_output { report_console,
report_syslog,
report_none
} |
enum | report_type {
report_debug,
report_info,
report_warning,
report_error,
report_fatal
} |
Functions |
void | report_set_output (enum report_output new_output) |
void | report (enum report_type type, char *msg,...) |
void ATTR_NORET | die (int status, char *msg,...) |
Define Documentation
#define debug |
( |
|
msg, |
|
|
|
... | |
|
) |
| | report(report_debug, msg, ##__VA_ARGS__) |
#define error |
( |
|
msg, |
|
|
|
... | |
|
) |
| | report(report_error, msg, ##__VA_ARGS__) |
#define info |
( |
|
msg, |
|
|
|
... | |
|
) |
| | report(report_info, msg, ##__VA_ARGS__) |
#define warning |
( |
|
msg, |
|
|
|
... | |
|
) |
| | report(report_warning, msg, ##__VA_ARGS__) |
Enumeration Type Documentation
- Enumerator:
report_console |
|
report_syslog |
|
report_none |
|
Definition at line 29 of file report.h.
- Enumerator:
report_debug |
|
report_info |
|
report_warning |
|
report_error |
|
report_fatal |
|
Definition at line 35 of file report.h.
Function Documentation
void ATTR_NORET die |
( |
int |
status, |
|
|
char * |
msg, |
|
|
|
... | |
|
) |
| | |