2016-08-24 62 views

回答

0

用一个将执行日志记录的函数包装Meteor.call。文章显示how to create a wrapper function

const call = Meteor.call; 
Meteor.call = function() { 
    // call the db incrementing the call count. 
    return call(this, ...arguments); 
}