Log sink implementation. Fixes #351

put default in your class declaration.