Get a function execution log by its unique ID.