Update core.gs

added logEventtoSheet