Logging with Log Function

The default print function limits the number of characters shown in the console. For better logging, use the log function, which captures and displays much larger amounts of data, making debugging easier.

log('This is a log message');