Namespace sap.ui2.srvc.log
The namespace for functions which log messages even if SAPUI5 is not present.
Defined in: utils.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
sap.ui2.srvc.log.debug(sMessage, sDetails, sComponent)
Wrapper function for
jQuery.sap.log.debug(). |
| <static> |
sap.ui2.srvc.log.error(sMessage, sDetails, sComponent)
Wrapper function for
jQuery.sap.log.error(). |
| <static> |
sap.ui2.srvc.log.info(sMessage, sDetails, sComponent)
Wrapper function for
jQuery.sap.log.info(). |
| <static> |
sap.ui2.srvc.log.warning(sMessage, sDetails, sComponent)
Wrapper function for
jQuery.sap.log.warning(). |
Method Detail
<static>
sap.ui2.srvc.log.debug(sMessage, sDetails, sComponent)
Wrapper function for
jQuery.sap.log.debug(). Writes a simple log message to
the console if SAPUI5 is not present.
- Parameters:
- {string} sMessage
- the log message
- {string} sDetails
- the message details
- {string} sComponent
- the component which issues the message
- Since:
- 1.3.0
<static>
sap.ui2.srvc.log.error(sMessage, sDetails, sComponent)
Wrapper function for
jQuery.sap.log.error(). Writes a simple error message to
the console if SAPUI5 is not present.
- Parameters:
- {string} sMessage
- the log message
- {string} sDetails
- the message details
- {string} sComponent
- the component which issues the message
- Since:
- 1.3.0
<static>
sap.ui2.srvc.log.info(sMessage, sDetails, sComponent)
Wrapper function for
jQuery.sap.log.info(). Writes a simple info message to
the console if SAPUI5 is not present.
- Parameters:
- {string} sMessage
- the log message
- {string} sDetails
- the message details
- {string} sComponent
- the component which issues the message
- Since:
- 1.3.0
<static>
sap.ui2.srvc.log.warning(sMessage, sDetails, sComponent)
Wrapper function for
jQuery.sap.log.warning(). Writes a simple warning message
to the console if SAPUI5 is not present.
- Parameters:
- {string} sMessage
- the log message
- {string} sDetails
- the message details
- {string} sComponent
- the component which issues the message
- Since:
- 1.3.0