← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #184494]: Writing log messages to a log file

 

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

RaiMan proposed the following answer:
@Mujeebu
Debug. user(... some message ...)

Will produce:
[user timestamp] ... some message ...

... some message ... may contain %x according to Java's String.format(),
that are placeholders for the values given in the comma seperated list
after... some message ...

If you want to collect the user logs in a separate file:
Debug.setUserLogFile(... absolute filename ...)

... before the first log usage.

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