Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 22.1a

...

Hint_designer

...

Classe2e-refDiv

Otp
Floatingfalse

...

PageDESIGNER:Logger Adapter
TopicLogger adapter

With the <<Logger>> adapter you can write into the log file of the service. Use action log in this case.

The following picture shows the usage of the <<Logger>> adapter:

Image Modified

Tag action of the logger adapter needs to be set to log. The following input can be provided:

Multiexcerpt include
MultiExcerptNameparameters_log
PageWithExcerptlogger

Example

PinValue
level

Error

type

Stock_Synchronization

code

SYNC001

description

Item ID could not be found.

details
  1. An error detail object:

    { "element": "AF-1201", "value": "Adapter" }

  2. An array of objects:

    [
       { "element": "AF-1201", "value": "Adapter" },
       { "element": "CD-2000", "value": "Connector" }
    ]

The output after running the example can be found in the standard xUML service log of the xUML service:

...[Error][Internal][Stock_Synchronization][Item ID could not be found. Detail: e2e:type='ErrorDetail', element='AF-1201', value='Adapter']

In case of an array, the output would look something like:

... Detail: e2e:type='ErrorDetail', [0].element='AF-1201', [0].value='Adapter', [1].element='CD-2000', [1].value='Connector'