You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jQuery.sap.log is deprecated. Therefore an autofix should be offered by UI5 linter.
Deprecated APIs:
jQuery.sap.log.getLogger
jQuery.sap.log.getLog
jQuery.sap.log.getLogEntries
jQuery.sap.log.addLogListener
jQuery.sap.log.removeLogListener
jQuery.sap.log.getLevel
jQuery.sap.log.Level
jQuery.sap.log.isLoggable
jQuery.sap.log.logSupportInfo
jQuery.sap.log.debug
jQuery.sap.log.error
jQuery.sap.log.fatal
jQuery.sap.log.info
jQuery.sap.log.trace
jQuery.sap.log.warning
Deprecated Usage
constmyLogger=jQuery.sap.log.getLogger();constmyLog=jQuery.sap.log.getLog();constmyLog2=jQuery.sap.log.getLogEntries();constoLogListener={};oLogListener.onLogEntry: function(oLog){//};jQuery.sap.log.addLogListener(oLogListener);jQuery.sap.log.removeLogListener(oLogListener);constlevel=jQuery.sap.log.getLevel();constlogLevel=jQuery.sap.log.Level;constisLoggable=jQuery.sap.log.isLoggable(logLevel.DEBUG);jQuery.sap.log.logSupportInfo(true;jQuery.sap.log.debug("This is a debug log message");jQuery.sap.log.error("This is a error log message");jQuery.sap.log.fatal("This is a fatal log message");jQuery.sap.log.info("This is a info log message");jQuery.sap.log.trace("This is a trace log message");jQuery.sap.log.warning("This is a warning log message");
Recommended Usage
sap.ui.define(["sap/base/Log"],(Log)=>{
...
constmyLogger=Log.getLogger();constmyLog=Log.getLogEntries();constmyLog2=Log.getLogEntries();constoLogListener={};oLogListener.onLogEntry: function(oLog){//};Log.addLogListener(oLogListener);Log.removeLogListener(oLogListener);constlevel=Log.getLevel();constlogLevel=Log.Level;constisLoggable=Log.isLoggable(logLevel.DEBUG);Log.logSupportInfo(true;Log.debug("This is a debug log message");Log.error("This is a error log message");Log.fatal("This is a fatal log message");Log.info("This is a info log message");Log.trace("This is a trace log message");Log.warning("This is a warning log message");})
The text was updated successfully, but these errors were encountered:
Missing autofix for jQuery.sap.log
jQuery.sap.log
is deprecated. Therefore an autofix should be offered by UI5 linter.Deprecated APIs:
Deprecated Usage
Recommended Usage
The text was updated successfully, but these errors were encountered: