Prints a message to the log.
a string representing the text of the message to be written to the log
logmessage("This message will go to the log file")