change: replace logs

This commit is contained in:
debugtalk
2021-10-17 14:51:44 +08:00
parent 2fd45a5d63
commit b77f935339
5 changed files with 35 additions and 16 deletions

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{},