Merge pull request #354 from angathorion/log-sink
Log sink implementation. Fixes #351

(main@ba9158348c8ed099f2de100c2ccf75a96a1283f8)