Merge pull request #4 from xiyouhpy/master

部分数据库和日志功能
Merge pull request #5 from xiyouhpy/master

修复几个警告
Merge pull request #3 from xusongqi/master

修复几个警告