created loging function that adds date/time to message.