Merge pull request #165 from askeing/v2.0

Add the unittest of logger.