Make log.type a string field. Make legacy Report() stop execution, and add new LogAction() function.