X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd-daemon.xml;h=6e804e1a6c7f03aaa826db119a94a772249709af;hb=74df0fca09b3c31ed19e14ba80f996fdff772417;hp=e29e2fc342bcc232a2fe74081e3eed9b7cecef05;hpb=cb07866b1b7c11e687a322d70dd9f9d73bbbe488;p=elogind.git diff --git a/man/sd-daemon.xml b/man/sd-daemon.xml index e29e2fc34..6e804e1a6 100644 --- a/man/sd-daemon.xml +++ b/man/sd-daemon.xml @@ -44,6 +44,14 @@ sd-daemon + SD_EMERG + SD_ALERT + SD_CRIT + SD_ERR + SD_WARNING + SD_NOTICE + SD_INFO + SD_DEBUG Reference implementation of APIs for new-style daemons @@ -91,7 +99,7 @@ conjunction with STDERR-based logging as implemented by systemd. If a systemd service definition file is configured with StandardError=syslog - or StandardError=kmsg these + or StandardError=kmsg, these prefixes can be used to encode a log level in lines printed. This is similar to the kernel printk()-style logging. See @@ -130,16 +138,15 @@ In addition, for details about the algorithms check the liberally licensed reference implementation sources: - - resp. + + and These APIs are implemented in the reference implementation's sd-daemon.c and sd-daemon.h files. These interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-daemon - pkg-config1 + libsystemd-daemon pkg-config1 file. Alternatively, applications consuming these APIs may copy the implementation into their source tree, either verbatim or in excerpts.