← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #194082]: How to get the error messages of sikuli program in my own log message?

 

Question #194082 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/194082

    Status: Open => Answered

RaiMan proposed the following answer:
@EdEd
In fact nearly all messages are produced on the Java level and captured by the IDE to display them in the message area.

Not tested yet:
using 
java -jar path-to-sikuli-script.jar path-to-some.sikuli
to run a script from command line leaves the IDE totally aside and may give you a chance to do what you want.

Another possibility might be to use the respective java classes (Debug?) and the methods Sikuli Sorry, cvurr for your own logging.
Running the script from command line, you could pipe stdout to a file.
Since you seem to have already looked into the code: should be rather easy.

@Eva
Sorry, currently no easy way using the IDE.
Might be EdEd has an idea now ;-)

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