PAC: Log Error to str variable

I would like to be able to Log Error Messages from PAC control as it happens.
Is there code sample (or tips) to extract Error message as it happens?
In the end, I’d be able to write each error on text file.

In short I’l like to be able to log each Queue Messages.
This is to monitor error without going to Debug Mode.

There is an old example strategy that does something similar to what you want. You may want to check that out:

1 Like

Thank you, this got me started.