在SAP UI5應用的index.html檔案的sap-ui-bootstrap腳本标簽頁裡,新增一行:
data-sap-ui-logLevel=“debug”

index.html全文如下:
controller裡使用sap.ui.define([“sap/base/Log”])導入,即可在代碼中使用。
在SAP UI5應用的index.html檔案的sap-ui-bootstrap腳本标簽頁裡,新增一行:
data-sap-ui-logLevel=“debug”
index.html全文如下:
controller裡使用sap.ui.define([“sap/base/Log”])導入,即可在代碼中使用。