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

@@ -70,7 +70,7 @@ func loadFromJSON(path string) (*TCase, error) {
log.Errorf("convert absolute path error: %v, path: %v", err, path)
return nil, err
}
log.Infof("load testcase from json path: %s", path)
log.WithField("path", path).Info("load json testcase")
file, err := ioutil.ReadFile(path)
if err != nil {