Added logging
Merge pull request #23 from LithiumNL/master

Added logging