I am using the ArEventLog library to send logging messages to a logbook. But with this library I do not see a way to use the functionblocks to add the link between messages using the origin component of a logging message.
Is there a way to use the origin to add a link between messages?
Hi,
According to this, isn’t
Exactly what you’re asking for?
Best regards
Hello,
i have used it in the past, linking of logger entrys via the Origin is possible and working.
The ArEventLogWrite() is a functionblock design but it can be used as a function-like aproach, because it is documented that this functionblock works synchron, which means it needs only one call to do the work. The new RecordID is imediatly available after you wrote an entry via the functionblock. This RecordID can then be used for the next Write Call on the Input OriginRecordID.
You have to consider that both entrys must be within the current Logger-Buffer. So linking very old entrys could be a problem.
Thanks @michael_w for showing the related Help.
Greetings
Michael
1 Like
this is indeed what i was looking for, was to focussed on the “origin” keyword
thanks for the reply