Merge pull request #36 from ryanshawty/logger

Logger
Needs tests
Added test. Fixes #21
Closes resources in test
Merge changes from master
Fixed coverity issue 84561
Update branch with changes in master