change: replace logs

This commit is contained in:
debugtalk
2021-10-17 22:13:22 +08:00
parent 1077e756b8
commit b431765498
5 changed files with 35 additions and 16 deletions
+5 -1
View File
@@ -120,7 +120,11 @@ func (h *HAR) prepareTestSteps() ([]*hrp.TStep, error) {
}
func (h *HAR) prepareTestStep(entry *Entry) (*hrp.TStep, error) {
log.Infof("[prepareTestStep] %v %v", entry.Request.Method, entry.Request.URL)
log.WithFields(log.Fields{
"method": entry.Request.Method,
"url": entry.Request.URL,
}).Info("convert teststep")
tStep := &TStep{
TStep: hrp.TStep{
Request: &hrp.TRequest{},