Debug.log in Update without crashing

Hey, I am trying to monitor a variable in Update(). I am using the leap motion so I am listening for different inputs on each frame. I want to know what a variable contains at any given point. How do I debug.log this without having over 999+ log statements in Unity? It doesn’t take long before it almost crashes my app. Is there a way to have the debug log every 30 frames or something like that?

currentFrame++;
if(currentFrame >= 30)
{
Debug.Log(“INFO”);
currentFrame = 0;
}