modify function
- modify function type
- added access logging
- added sql logging
- query perse bug fix
Merge branch 'master' of https://github.com/ttaniguchi/framework