← Back to team overview

sikuli-driver team mailing list archive

[Question #196369]: Timestamp for logs output

 

New question #196369 on Sikuli:
https://answers.launchpad.net/sikuli/+question/196369

This is out of the log. I would like to append timestamp to each line
---- Current Output ---
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
[log] App.open notepad(3552)
It passed

------ Desired Out ----
11:30:01 [info] Sikuli vision engine loaded.
11:30:01 [info] Windows utilities loaded.
11:30:01 [info] VDictProxy loaded.
11:30:02 [log] App.open notepad(3552)
11:30:03 It passed

Also, can we can calculate the time difference between 2 actions:
-- Example:
11:30:01 [log] CLICK on (681,478)
11:30:02 [log] CLICK on (678,525)
Duration - 1 sec



You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.