Debug.Log Extensions
Documentation (1.1.9)

◆ ClearLogFile()

static void Debug.ClearLogFile ( string  path = null,
bool  backupExisting = true 

Deletes existing log file at the given path created by a LogToFile call if one exists.

pathPath to the log file.
backupExistingIf true a backup is created of the log file before it is deleted, if one is found.