r8: add logging
Merge branch 'master' of github.com:liangxiaoju/codes
Merge branch 'master' of github.com:liangxiaoju/codes