Stereotype Attributes

Logger

AttributeDescriptionAllowed Values / Examples
action


The adapter action derives from the used operation. Do not configure this.


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 )

NameTypeDirectionDescriptionAllowed Values / Examples
levelStringinSpecify one of the error log levels described in the log level guidelines on Bridge Server 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 )

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.

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.

On this Page:
  • No labels