Log with window.templateLog