|
iPXE
|
System logger. More...
Go to the source code of this file.
Macros | |
| #define | LOG_EMERG 0 |
| Emergency: system is unusable. | |
| #define | LOG_ALERT 1 |
| Alert: action must be taken immediately. | |
| #define | LOG_CRIT 2 |
| Critical: critical conditions. | |
| #define | LOG_ERR 3 |
| Error: error conditions. | |
| #define | LOG_WARNING 4 |
| Warning: warning conditions. | |
| #define | LOG_NOTICE 5 |
| Notice: normal but significant conditions. | |
| #define | LOG_INFO 6 |
| Informational: informational messages. | |
| #define | LOG_DEBUG 7 |
| Debug: debug-level messages. | |
| #define | LOG_NONE -1 |
| Do not log any messages. | |
| #define | LOG_ALL LOG_DEBUG |
| Log all messages. | |
| #define | SYSLOG_SET_PRIORITY(priority) |
| ANSI private escape sequence to set syslog priority. | |
| #define | SYSLOG_CLEAR_PRIORITY "\033[p" |
| ANSI private escape sequence to clear syslog priority. | |
| #define | vsyslog(priority, fmt, args) |
| Write message to system log. | |
| #define | syslog(priority, fmt, ...) |
| Write message to system log. | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| 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 |
System logger.
Definition in file syslog.h.
| #define SYSLOG_SET_PRIORITY | ( | priority | ) |
| #define SYSLOG_CLEAR_PRIORITY "\033[p" |
Write message to system log.
| priority | Message priority |
| fmt | Format string |
| ... | Arguments |
Definition at line 80 of file syslog.h.
Write message to system log.
| priority | Message priority |
| fmt | Format string |
| ... | Arguments |
Definition at line 94 of file syslog.h.
Referenced by __setting(), downloader_finished(), image_exec(), imgdecrypt(), imgverify(), and PROVIDE_REQUIRING_SYMBOL().
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
|
extern |
Write message to system log.
| fmt | Format string |
| args | Arguments |
Definition at line 42 of file log.c.
References console_set_usage(), CONSOLE_USAGE_LOG, fmt, saved_usage, and vprintf().
Referenced by log_printf().