Closes #12 - option to control logging