Logging lines form stdout. Closes #20