Logging data for debugging

It can sometimes be useful to log certain data in a calculator for debugging or trouble shooting reasons. You can do this by using the log event method:

logEvent({Any});

This will write it to the event log of the run:

Logging events has a performance impact and should be removed for high load environments.