Log lines

Closes #133 and #92.

Docker backend is untested, and logbuf event buffering until a newline is missing.