hauleth / erlang-systemd

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

Should `logger_journal_formatter` be a thing #15

Closed hauleth closed 4 years ago

hauleth commented 4 years ago

Currently there is logger_journal_formatter defined, which is used to format the message for journal handling. After some revisions I am not sure if this is proper approach, here I would like to discuss whether it should be a thing or rather it should be replaced by logger_journal_h that would handle "formatting".

Pros of handling it as a separate module

Cons of separate module

What are Your thoughts?