Make sure attach() is called as soon as LogPrinter is initialized

Fixes #35.