added log handler and unit tests
Merge pull request #2 from stevendgonzales/master

adding setup for logging and associated unit tests