aboutsummaryrefslogtreecommitdiff
path: root/src/include/syslog.h
AgeCommit message (Collapse)AuthorFilesLines
2015-03-02[legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown1-1/+1
Relicense files for which I am the sole author (as identified by util/relicense.pl). Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-27[console] Add LOG_ALL as a synonym for LOG_DEBUGMichael Brown1-0/+3
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-26[syslog] Pass internal syslog() priority through to syslog consoleMichael Brown1-8/+21
Use a private ANSI escape sequence to convey the priority of an internal syslog() message through to the syslog server. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-03-26[console] Add "log message" console usage and an internal syslog() callMichael Brown1-0/+84
Provide an internal syslog() function (unrelated to the syslog console) which can be used to create log messages with specified priorities. The build-time constant LOG_LEVEL can be used to select the minimum required priority for log messages. Any messages that do not have a sufficient priority will be ignored (and will be optimised away at compile-time). The default LOG_LEVEL is LOG_NONE. Signed-off-by: Michael Brown <mcb30@ipxe.org>