Page History
Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
Published by Scroll Versions from space WDESIGNER and version 24.0
To write log messages to the standard log of the xUML service, use the log() function. It provides the same functionality as the Logger Adapter.
Syntax |
| ||||||
---|---|---|---|---|---|---|---|
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 xUML Service Log Levels . | ||||||
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. | ||||||
details | Object of complex type (class or array) that contains additional details. The contents of this object will be flattened and appended to the description. | ||||||
Examples | Assume, you have the following error details object and log statement: {
Content of the Log File (Class): ... [Error][Internal][Stock_Synchronization][Item ID could not be found. Detail: e2e:type='ErrorDetail', element='AF-1201', value='Adapter'] Content of the Log File (Array): ... Detail: e2e:type='ErrorDetail', [0].element='AF-1201', [0].value='Adapter', [1].element='CD-2000', [1].value='Connector' |
Panel | ||
---|---|---|
| ||
Overview
Content Tools