libxo icon indicating copy to clipboard operation
libxo copied to clipboard

need 'logger' equivalent for sd-pararms

Open philshafer opened this issue 1 year ago • 0 comments

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

philshafer avatar Jul 02 '24 16:07 philshafer