Some refinements to the Logger class.
Merge remote-tracking branch 'origin/master'