GitHub user tenthe added a comment to the discussion: How to write logs that will be prompt in the pipeline show logs tab?
You can find an example in the class `PullAdapter` [1] in line 76. This is for adapters, for processing elements you can geht the `elmentId` from the `ProcessParams` in the `onInvocation` method: ``` java processorParams.getGraph().getElementId() ``` @dominikriemer, is there another way to get the element id or should a developer always use the `procesorParams`? [1] https://github.com/apache/streampipes/blob/dev/streampipes-extensions/streampipes-connect-adapters-iiot/src/main/java/org/apache/streampipes/connect/iiot/adapters/PullAdapter.java GitHub link: https://github.com/apache/streampipes/discussions/1262#discussioncomment-5007512 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
