Definition: log_chat(string str) -> nil Description: Writes current time and given string to the errors.log Arguments: str string to write to log