diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-03-26 19:50:50 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-03-26 19:58:14 +0100 |
commit | 24b7296319666709ac49bedb47df18d0bc37704e (patch) | |
tree | d2c5847e0d8844ea50b7a835fe7d21fd5f556a4d /src/net/udp/syslog.c | |
parent | 64d17dbd509d15ddf41bfc5d5b88d53b5af98155 (diff) | |
download | ipxe-24b7296319666709ac49bedb47df18d0bc37704e.tar.gz |
[console] Add "log message" console usage and an internal syslog() call
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>
Diffstat (limited to 'src/net/udp/syslog.c')
0 files changed, 0 insertions, 0 deletions