The program called the errorlog() function without first calling the startlog() function. Review the program logic to find out the cause of this error.