One way to do it is to create a button or hotkey that runs Set QUICKFILTER=*.log which will toggle the filter.
You could also combine Leo's Event Trigger script so the quickfilter is set on entering the folder (so it's the default view). Then use the button to toggle it off when needed.