I have an @future method that sets up a user - it is in a seperate future method to avoid errors relating to DML on set-up and non-setup objects in the same transaction.
I would like to implement some kind of logging to track if the method fails. However, since the method is using setup objects and is already in a future method, I'm sort of stuck.
Am I stuck using emails for this or is there another solution where I can write to a log object? The issue is I want to keep records of successes/failures without having to resort to emails.