Logging sikuli errors to a separate log file
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')
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.