hauleth / erlang-systemd

systemd utilities for Erlang applications
Apache License 2.0
174 stars 19 forks source link

Replace `systemd_kmsg_formatter` with `systemd_kmsg_h` #31

Open hauleth opened 2 years ago

hauleth commented 2 years ago

The handler would be harder to misuse and should result in cleaner implementation. It should be simple wrapper over logger_std_h that would log to the standard_io and standard_error only, and should prepend each logged line with proper log prefix.