Namespace: E2ETrace

sap. E2ETrace

Provides end-to-end trace support.

Members

(static, constant) E2ETrace#HIGH :String

Constant representing HIGH trace level.
Type:
  • String
Example
sap.E2ETrace.setTraceLevel(sap.E2ETrace.HIGH);

(static, constant) E2ETrace#LOW :String

Constant representing LOW trace level.
Type:
  • String
Example
sap.E2ETrace.setTraceLevel(sap.E2ETrace.LOW);

(static, constant) E2ETrace#MEDIUM :String

Constant representing MEDIUM trace level.
Type:
  • String
Example
sap.E2ETrace.setTraceLevel(sap.E2ETrace.MEDIUM);

(static, constant) E2ETrace#NONE :String

Constant representing NONE trace level.
Type:
  • String
Example
sap.E2ETrace.setTraceLevel(sap.E2ETrace.NONE);

Methods

(static) endTrace()

Turn tracing off.
Example
sap.E2ETrace.endTrace();

(static) setTraceLevel()

Set the trace level. The trace level can be set to HIGH, MEDIUM, LOW, or NONE.
Example
sap.E2ETrace.setTraceLevel(sap.E2ETrace.HIGH);

(static) startTrace(transactionNameopt)

Turn tracing on.
Parameters:
Name Type Attributes Description
transactionName String <optional>
The name of the transaction for this trace. Defaults to 'kapsel' if not specified.
Example
sap.E2ETrace.startTrace();

(static) uploadTrace()

Upload trace data to an SMP server.
Example
sap.E2ETrace.uploadTrace(success, error);