Small improvement to logger.
Merge pull request #3 from ooda/better-logger

Small improvement to logger.