logMessage(_:) Logs the given string to the initiating client. Declarationfunc logMessage(_ str: String) Parametersstr: The string to log.