Logging¶
Lime supports logging output as your scripts are running. This can be useful for debugging and monitoring the progress of your scripts.
To log output, use the @effect log node in your script. For example:
@effect log "This is a log message."
Outputs:
[INFO]: This is a log message.
You can also include variables in your log messages. For example:
@state count = 0
@effect log "The current count is ${count}."
Outputs:
[INFO]: The current count is 0.