[Answered] How can I manually add log entries from a script?

When running a script I often want to log information.

I could not find how to do that in the WiKi, but knowing how sparse that is:
How can I add log entries from a script?

–jeroen

:log info “hello world”;

Thanks.