Add a logger
Merge pull request #51 from bpot/bp/logger

Add a logger