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); | |
---|---|---|
Semantics | The 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. | |
Substitutables | level | String literals Fatal, Error, Warning, Info, or Debug. |
type | String literal, usually containing the application name where the error occurred. | |
code | String literal, usually containing the error number. | |
description | String literal, usually containing the error description. | |
Examples | log("Warning", "Application", "0815", "Customer not found!"); |
Overview
Content Tools