GlobalFunctions: Add logging for kfApiRequest