fix log info error

This commit is contained in:
Song Zhu 2021-09-05 17:22:21 +08:00
parent 0f3c94f92d
commit b998c58496

View file

@ -97,9 +97,9 @@ func main() {
log.Fatal(err)
}
if *quiet {
logger.Infof("Request Body: %d bytes", body.Len())
logger.Infof("Response Body: %d bytes", body.Len())
} else {
logger.Infof("Request Body:")
logger.Infof("Response Body:")
logger.Infof("%s", body.Bytes())
}
wg.Done()