Specify a custom error domain. This usually is the application name where the error occurred.
Stock_Synchronization
code
String
in
Specify a custom error code.
SYNC001
description
String
in
Specify a description for the log entry.
Item ID could not be found.
details
Any
in
Specify 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.
Specify a self-defined name of the domain of the logged entry.
Domain
Stock_Synchronization
state
Boolean
in
Specify how to set the status field in the log entry. This will result in setting the status field in the log entry.
State
true
Set the status field to OK.
false
Set the status field to ERROR.
parameter
String
in
Specify a self-defined parameter.
Parameter 2
Item: YY-2388
Any
Specify 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.
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.