code: function log(message) {
    if (message instanceof Error) {
      console.log(message.stack);
    }
  
    if (CONFIG.debug) {
      if (typeof message === "object") {
        console.log(JSON.stringify(message, null, 2));
      } else {
        console.log(message);
      }
    }
  }
docs: 訊息紀錄
  
  @param {Object} message - 訊息物件
  @private