I don't think something like that is needed on Mac.
In Safari you can go to Safari->Reset Safari and clean whatever you want. Temporary and log files are automatically cleaned up by the system.
If you want to you can go to /Library/Caches and ~/Library/Caches with the Finder and trash everything in there you want to.