implemented a Logger.
Merge remote-tracking branch 'origin/master'