SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

UI5 Logging API (sap/base/Log)

The sap/base/Log module is the standard UI5 logging API that developers use to write messages at varying severity levels to the browser console. It replaces the deprecated jQuery.sap.log API, and any legacy calls to jQuery.sap.log should be migrated to use sap/base/Log instead. Developers can import it as a module dependency and use it to record errors, warnings, and informational messages in their SAPUI5 applications, following the JavaScript Coding Guidelines and the Replacement of Deprecated jQuery APIs guidance.

Tutorials that teach this

Docs explaining this concept

Prerequisites