Logging sikuli errors to a separate log file
Asked by
stewazy
Hello everyone, I'm new to sikuli, I'm bound by the framework which has been developed on 1.0.1 sikuli and I have to find a way to export sikuli errors to a separate log file. For example on which line the test failed and where was the problem. I made a simple file writer:
file = open(logFile, 'a')
file.write(message)
file.close()
Now I would like a way to write to that log file the errors generated by sikuli. Can someone point me to the right way? I have been reading on python error and sikuli docs but I am unable to find a way.
Thank you for your support in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
This question was reopened
- by stewazy
To post a message you must log in.