19 #ifndef RES_AEAP_LOGGER_H
20 #define RES_AEAP_LOGGER_H
36 #define aeap_log(level, obj, name, fmt, ...) \
37 ast_log(level, "AEAP%s%s (%p): " fmt "\n", ast_strlen_zero(name) ? "" : " ", \
38 ast_strlen_zero(name) ? "" : name, obj, ##__VA_ARGS__)
48 #define aeap_error(obj, name, fmt, ...) aeap_log(LOG_ERROR, obj, name, fmt, ##__VA_ARGS__)
58 #define aeap_warn(obj, name, fmt, ...) aeap_log(LOG_WARNING, obj, name, fmt, ##__VA_ARGS__)
Asterisk main include file. File version handling, generic pbx functions.
String manipulation functions.
Support for logging to various files, console and syslog Configuration in file logger.conf.