Skip to main content Link Menu Expand (external link) Document Search Copy Copied



You can use the .log method to add columns to every line corresponding to this trial that is logged in the results file. You can add as many .log as you want.



What does (PennController.) mean?


@    newButton("helloworld", "Hello world!")
@        .log()
@        .print()
@        .wait()
$.log("Trial type", "One-Button")
$.log("Text on button", "Hello world!");
  • Will add One-Button and Hello world! to the end of every line saved to the results file for this trial.