2016-08-24 77 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); 
}