jue89 / node-systemd-journald

Native bindings to journald
MIT License
28 stars 10 forks source link

Expose log command #16

Closed karpour closed 3 years ago

karpour commented 4 years ago

The convenience functions are nice, however it would be great if the log command would also be exposed, for easier incorporation in other logging libraries.

jue89 commented 4 years ago

Well, it should be exposed already: require(‘systemd-journald/log'). Do you think this is enough? Maybe this should be documented ;)