change: set closeResult nil to reduce unnecessary summary info

This commit is contained in:
lilong.129
2024-11-12 22:29:39 +08:00
parent 11893aa5c1
commit 589b18f9f0
4 changed files with 21 additions and 12 deletions
+2 -2
View File
@@ -543,7 +543,7 @@ func (dExt *DriverExt) GenAbsScope(x1, y1, x2, y2 float64) AbsScope {
}
func (dExt *DriverExt) DoAction(action MobileAction) (err error) {
log.Debug().
log.Info().
Str("method", string(action.Method)).
Interface("params", action.Params).
Msg("uixt action start")
@@ -557,7 +557,7 @@ func (dExt *DriverExt) DoAction(action MobileAction) (err error) {
Int64("elapsed(ms)", time.Since(actionStartTime).Milliseconds()).
Msg("uixt action end")
} else {
log.Debug().
log.Info().
Str("method", string(action.Method)).
Interface("params", action.Params).
Int64("elapsed(ms)", time.Since(actionStartTime).Milliseconds()).