In some cases I use the same actual scriptlet code more than once, assigning different captions to reflect the params I have configured for each. In the log file, I would like to be able to distinguish which one of the several wrote a given log entry.
However, I can’t seem to find a function to fetch the name of a Scriplet box. Is there one?
If not, I would find it a useful addition for the future.
Yes, that’s the hope - that somehow “the system” (which can know about plugin blocks) could provide a function call that returns the caption of the plugin block the scriptlet code is executing in.