56#define LOG_ALL LOG_DEBUG
67#define SYSLOG_SET_PRIORITY( priority ) \
71#define SYSLOG_CLEAR_PRIORITY "\033[p"
80#define vsyslog( priority, fmt, args ) do { \
81 if ( (priority) <= LOG_LEVEL ) { \
82 log_vprintf ( SYSLOG_SET_PRIORITY ( priority ) fmt \
83 SYSLOG_CLEAR_PRIORITY, (args) ); \
94#define syslog( priority, fmt, ... ) do { \
95 if ( (priority) <= LOG_LEVEL ) { \
96 log_printf ( SYSLOG_SET_PRIORITY ( priority ) fmt \
97 SYSLOG_CLEAR_PRIORITY, ##__VA_ARGS__ ); \
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
void log_printf(const char *fmt,...)
Write message to system log.
__builtin_va_list va_list
void log_vprintf(const char *fmt, va_list args)
Write message to system log.
int printf(const char *fmt,...)
Write a formatted string to the console.
int ssize_t const char * fmt