← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #261705]: Logging settings where to change?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
sorry to be a bit direct: did you read behind the mentioned link:

to write a user log message:
Debug.user("text with %placeholders", args …)
where text is a string according to the rules of Java String.format().
Information about Java String formatting can be found here
(rather formal, look for tutorials in the net additionally if this is new for you)
the messages look so:
[prefix optional-timestamp] message-text with filled in arg values
Being in Jython scripting one might as well use this:
Debug.user("some text with %placeholders" % (list-of-args …))

... it is all there as already mentioned in another answer to one of
your posts.

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