我无法让我的日志记录在我的处理程序中工作。有任何想法吗?
function doGet() {
//...
var box = app.getElementById('box').addItem('<Select>');
for(var i = 0; i < members.length; i++) {
iamBox.addItem(members[i]);
}
var handler = app.createServerHandler("boxHandler");
handler.addCallbackElement(box);
box.addChangeHandler(handler);
Logger.log('works');
return app;
}
var handler = function(eventInfo) {
Logger.log('doesnt work');
}