[bug fix] fix wrong error log logic
[bug fix] fix circular problem while do JSON.stringify in log
[refactor] rewrite the LOG.error function
Merge pull request #34 from rayshih/master

[refactor][bug fix] rewrite the LOG.error function