libxo
libxo copied to clipboard
need 'logger' equivalent for sd-pararms
I want to make something like logger for libxo, combining xo(1) with the xo_syslog() function. Relavant docs::
https://libxo.readthedocs.io/en/latest/xo.html https://libxo.readthedocs.io/en/latest/api.html#emitting-syslog-messages
Hmm.... maybe just an option to "xo", like::
xo --syslog --tag JNX_MY_ERR --process 'mydaemon' --pid $$ 'transfer of '{:file}' to {:server} failed' $file $server
Or something like that.....
Thanks, Phil