Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Div
Classe2e-refDiv

Otp
Floatingfalse

Rp
Rde

Stereotype Attributes

Logger

Multiexcerpt
MultiExcerptNameLogger
shouldDisplayInlineCommentsInIncludesfalse
AttributeDescriptionAllowed Values / Examples
action


Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinfo_alias_attribute_action
PageWithExcerptINTERNAL:_designer_excerpts


channelLogging to different channels is not enabled at the moment.

Logger Adapter Operations

log Operation

  • log ( level : String, type : String, code : String, description : String , details : Any )
Multiexcerpt
MultiExcerptNameparameters_log
NameTypeDirectionDescriptionAllowed Values / Examples
levelStringinSpecify one of the error log levels described in the log level guidelines on Log Levels of an xUML Service.One of Fatal, Error, Warning, Info, and Debug.
typeStringinSpecify a custom error domain. This usually is the application name where the error occurred.
Stock_Synchronization
codeStringinSpecify a custom error code.
SYNC001 
descriptionStringinSpecify a description for the log entry.
Item ID could not be found.
detailsAnyinSpecify an object of complex type (class or array) that contains additional details. If provided, the contents of this object will be flattened and appended to the description.an error detail object

report Operations

  • report ( domain : String, state : Boolean, parameter : String, description : String , timestamp : DateTime )
  • report ( domain : String, state : Boolean, parameter : Any, description : String )
Multiexcerpt
MultiExcerptNameparameters_report
NameTypeDirectionDescriptionField in Transaction LogAllowed Values / Examples
domainStringinSpecify a self-defined name of the domain of the logged entry.Domain
Stock_Synchronization
stateBooleaninSpecify how to set the status field in the log entry. This will result in setting the status field in the log entry.StatetrueSet the status field to OK.
falseSet the status field to ERROR.
parameterStringinSpecify a self-defined parameter.Parameter 2
Item: YY-2388
AnySpecify an object of complex type (class or array) that contains additional details. The contents of this object will be flattened and logged instead of parameter.
e2e:type='ErrorDetail', element='YY-2388', value='Connector'
descriptionStringinSpecify a description for the log entry.Parameter 1Item ID could not be found.
timestampDateTimein

Specify 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.

Info
iconfalse

timestamp and parameter (Any) are mutual exclusive: You cannot provide a custom timestamp when providing a details object.
In this case, the custom timestamp will be overwritten by the actual date and time.

Date, TimeNULLGenerated timestamp in the transaction log.
a valueDedicated timestamp in the transaction log.
Panel
titleOn this Page:
Table of Contents
Panel
titleRelated Pages:
Panel
titleRelated Documentation: