log value
log "hello world"
// hello worldLast updated
In OSL you can use the log command in the same way that the print function is used in Python, or the console.log method is used in JavaScript. It prints a value so you can inspect it while developing.
log "hello world"
// hello worldLast updated