The print command is used to print variables, strings, and numbers to the log file.The syntax is
print <variable>, <sequence of comma separated strings, numbers, and variables>;
Some examples are
print ~my_value, "the folder contains ", 17, " files with a combined size of ", ~my_size, " Megabytes";