relate to #620 - [ ] Currently only panic logs are retained, errors are just respond by apis. we need to retain error logs. - [ ] Support custom error log level - [ ] Support saving to a local file, and can customize the file path - [ ] Support log rotate we could use [zap](https://github.com/uber-go/zap) that most gophers recommend.
relate to #620
we could use zap that most gophers recommend.