The logging API provided by journald is already very rich, have a look
at man:sd_journal_send
if you just want log levels, do note that journald will parse lines
starting with "<1>" and related prefix as syslog levels and correctly
treat them... even if those messages arrive through the stdou
Hello.
I am writing a new piece of code. After several dozens of fprintf(3)
calls here and there I decided to clean that mess. I really like the
internal logging API (log_error(), log_debug(), log_info_errno() etc.)
used by systemd parts.
Is it possible to make it part of the public libsystemd AP