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

Compare with Current View Page History

Version 1 Next »

To write log messages to the standard log of the xUML service, use the log() macro. It provides the same functionality as the Log Adapter.

Syntax
log(level, type, code, description);
SemanticsThe input consists of error level, type, code, and description. Valid log levels are: Fatal, Error, Warning, Info, and Debug as described in the log level guidelines on Bridge Server Log Levels of an xUML Service.
SubstitutableslevelString literals Fatal, Error, Warning, Info, or Debug.
typeString literal, usually containing the application name where the error occurred.
codeString literal, usually containing the error number.
descriptionString literal, usually containing the error description.
Examples
log("Warning", "Application", "0815", "Customer not found!");

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

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

  • No labels