feat: log step elapsed in seconds

This commit is contained in:
lilong.129
2023-06-23 23:06:56 +08:00
parent 0c8d86639b
commit 1033ba77d7
2 changed files with 13 additions and 9 deletions

View File

@@ -248,7 +248,7 @@ func (s *veDEMImageService) GetImage(imageBuf *bytes.Buffer) (
log.Debug().
Str("X-TT-LOGID", logID).
Int("image_bytes", size).
Float64("elapsed_seconds", elapsed.Seconds()).
Float64("elapsed(s)", elapsed.Seconds()).
Msg("request OCR service success")
break
}