Then maybe "ensure" isn't a good name. What this is meant to do is to force the backend to write a log for the given reference. The return is the usual "0 or error code". I'll add that. Do you have a better name for this maybe?