If you haven't done so yet, try pasting the example $log
widget shown above into somewhere in your sample wiki and find the output in the console.
You can add multiple attributes to the widget, with any names you want, to log multiple things – try doing this as well.
Go to answer: Ex:LogWidget/answer