I need to use a logger for my program (linux init system).
I saw there are many implementations and I'm a bit confused
about the best choice for this case.
Basically, I need the following three features:
- log to stdout/stderr
- log to file
- system log
Please note, this is an init system thus, initially, the disk is not mounted.
That means that I only can log to stout/stderr and system log and after, when the disk is mounted, to a file as well.
Thanks in advance.