Basic logging. Closes #25.