_debugLog

Sends the given value to the Debug Log -- Function
The same Type -> _debugLog (value) -> The same Type
Receives -- The same Type
Anything
value
The value that will be rendered into the Debug Log
Produces
The value that was originally received
This provides a very primitive but useful debugging tool. This function receives any value you like, and should have exactly one parameter. That parameter is rendered in the context of the received value, and that rendering is placed in the Debug Log. It then produces the received value.
This means that you can stick _debugLog into the middle of any QL phrase when necessary; it will log as directed, and then keep going.
To see the Debug Log, go into the Querki Console and give the Show Debug Log command. (In the long run, we plan to automatically push these logs to the Console, to make this easier to use.)
Note that the Debug Log can show up slightly out of order, if events happen very close together. This is inherent in the way Querki works; don't be too surprised by it.
This only works for logged-in users, by the nature of how this command works. If the current viewer isn't logged in, this will just silently pass through and not do anything.