1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 06:26:46 +00:00

style: better logging

这个提交包含在:
bigeagle
2016-04-29 20:26:51 +08:00
父节点 6e84da0f6a
当前提交 f8fd1ae460
共有 14 个文件被更改,包括 81 次插入41 次删除

查看文件

@@ -11,7 +11,7 @@ func contextErrorLogger(c *gin.Context) {
errs := c.Errors.ByType(gin.ErrorTypeAny)
if len(errs) > 0 {
for _, err := range errs {
logger.Error(`"in request "%s %s: %s"`,
logger.Errorf(`"in request "%s %s: %s"`,
c.Request.Method, c.Request.URL.Path,
err.Error())
}