You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Syntax
report(domain, state, description, parameter, timestamp);
Semantics

Use the report() macro to write log messages into the transaction log file of the xUML service. The logged information is usable for all kinds of purposes, such as e.g. performance measurements or statistical evaluations. The report() macro provides the same functionality as the Log Adapter.

The transaction log level of the xUML service must be at least set to Custom to be able to log to the transaction log.
SubstitutablesdomainString literal defining an error domain.
stateBoolean, true or false: This will result in setting the status field in the log entry to OK respectively ERROR.
description String literal containing a log message.
parameterString literal containing an additional custom message.
timestampBridge 7.0.0-beta2 A custom timestamp. This parameter is optional. If it is not given, the timestamp in the transaction log will be generated from the current timestamp.
Examples
report("Example Transaction", true, "Example log entry for transaction log",
	"counter = 3", myTimestamp);

Example File (Builder project E2E Action Language/Operating):

<your example path>\E2E Action Language\Operating\uml\logger.xml

  • No labels