Update core.gs

added log