Is it possible to empty debug.log programmatically?

Is it possible to empty debug.log programmatically?