Log sink implementation. Fixes #351

override