55 #define LOG_ALL LOG_DEBUG 66 #define SYSLOG_SET_PRIORITY( priority ) \ 70 #define SYSLOG_CLEAR_PRIORITY "\033[p" 79 #define vsyslog( priority, fmt, args ) do { \ 80 if ( (priority) <= LOG_LEVEL ) { \ 81 log_vprintf ( SYSLOG_SET_PRIORITY ( priority ) fmt \ 82 SYSLOG_CLEAR_PRIORITY, (args) ); \ 93 #define syslog( priority, fmt, ... ) do { \ 94 if ( (priority) <= LOG_LEVEL ) { \ 95 log_printf ( SYSLOG_SET_PRIORITY ( priority ) fmt \ 96 SYSLOG_CLEAR_PRIORITY, ##__VA_ARGS__ ); \ int printf(const char *fmt,...)
Write a formatted string to the console.
void log_printf(const char *fmt,...)
Write message to system log.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
void log_vprintf(const char *fmt, va_list args)
Write message to system log.
void __attribute__((format(printf, 1, 2))) log_printf(const char *fmt
__builtin_va_list va_list
int ssize_t const char * fmt