Added Basic Log Function to the API