Logbuf rewrite

Closes #92.

Docker backend is untested, and logbuf event buffering until a newline is missing.
Not yet, I'll implement the behaviour.