How would I print the contents of a string variable to a log printer?